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 75caad8 commit 64cd9fbCopy full SHA for 64cd9fb
packages/onchaintrust-snap/test/api.test.ts
@@ -1,3 +1,5 @@
1
+/* eslint-disable n/no-unsupported-features/node-builtins */
2
+
3
import { requestUiDefinition, type ApiResult } from '../src/api';
4
import type { UiPayload } from '../src/types/ui-schema';
5
@@ -57,7 +59,7 @@ describe('requestUiDefinition', () => {
57
59
);
58
60
61
expect(result.ok).toBe(true);
- expect((result as any).data).toEqual(payload);
62
+ expect((result as any).data).toStrictEqual(payload);
63
64
expect(global.fetch).toHaveBeenCalledTimes(1);
65
const calledArg = (global.fetch as jest.Mock).mock.calls[0][0];
0 commit comments