Skip to content

Commit

Permalink
test(sdk): test setDocument() errors
Browse files Browse the repository at this point in the history
Test whether setDocument() throws on invalid input data.
  • Loading branch information
aloisklink committed Mar 5, 2024
1 parent c9ba489 commit 766066b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sdk/src/index.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ describe('setDocument', () => {
});
});

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

Expand Down

0 comments on commit 766066b

Please sign in to comment.