We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c17870c commit e82bb0fCopy full SHA for e82bb0f
test/functional/collections/CreateCollection.test.ts
@@ -34,7 +34,7 @@ describe('execute', () => {
34
await createCollection.execute(testNewCollection, TestConstants.TEST_DUMMY_COLLECTION_ID)
35
throw new Error('Use case should throw an error')
36
} catch (error) {
37
- writeError = error
+ writeError = error as WriteError
38
} finally {
39
expect(writeError).toBeInstanceOf(WriteError)
40
expect(writeError?.message).toEqual(
0 commit comments