Skip to content

Commit e82bb0f

Browse files
committed
one more fix type error
1 parent c17870c commit e82bb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/collections/CreateCollection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('execute', () => {
3434
await createCollection.execute(testNewCollection, TestConstants.TEST_DUMMY_COLLECTION_ID)
3535
throw new Error('Use case should throw an error')
3636
} catch (error) {
37-
writeError = error
37+
writeError = error as WriteError
3838
} finally {
3939
expect(writeError).toBeInstanceOf(WriteError)
4040
expect(writeError?.message).toEqual(

0 commit comments

Comments
 (0)