Skip to content

Commit 64cd9fb

Browse files
linter fix: api.test.ts
1 parent 75caad8 commit 64cd9fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/onchaintrust-snap/test/api.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable n/no-unsupported-features/node-builtins */
2+
13
import { requestUiDefinition, type ApiResult } from '../src/api';
24
import type { UiPayload } from '../src/types/ui-schema';
35

@@ -57,7 +59,7 @@ describe('requestUiDefinition', () => {
5759
);
5860

5961
expect(result.ok).toBe(true);
60-
expect((result as any).data).toEqual(payload);
62+
expect((result as any).data).toStrictEqual(payload);
6163

6264
expect(global.fetch).toHaveBeenCalledTimes(1);
6365
const calledArg = (global.fetch as jest.Mock).mock.calls[0][0];

0 commit comments

Comments
 (0)