Skip to content

Commit 766066b

Browse files
committedMar 5, 2024
test(sdk): test setDocument() errors
Test whether setDocument() throws on invalid input data.
1 parent c9ba489 commit 766066b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎packages/sdk/src/index.e2e.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ describe('setDocument', () => {
9898
});
9999
});
100100

101-
// TODO: this function never seems to return an error, see MC-1060
102-
it.skip('should throw an error on invalid data', async() => {
101+
it('should throw an error on invalid data', async() => {
103102
const newDocument = await client.createDocument(testProjectId);
104103
documentsToDelete.add(newDocument.documentID);
105104

0 commit comments

Comments
 (0)
Failed to load comments.