Skip to content

Commit a031c05

Browse files
fix: correct error message assertion in unit test
1 parent 50bcd1c commit a031c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/tests/unit/dataProtectorCore/getGrantedAccess.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ describe('getGrantedAccess', () => {
156156
).rejects.toThrow(
157157
new WorkflowError({
158158
message: 'Failed to fetch granted access',
159-
errorCause: new Error('orders?.map is not a function'),
159+
errorCause: new Error('orders.map is not a function'),
160160
})
161161
);
162162
});

0 commit comments

Comments
 (0)