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 b0b5ab3 commit 2a1eb64Copy full SHA for 2a1eb64
client/jest.setup.ts
@@ -1,3 +1,9 @@
1
+/* eslint-disable @typescript-eslint/ban-ts-comment */
2
import { toHaveNoViolations } from "jest-axe";
3
+import { TextEncoder, TextDecoder } from "util";
4
5
expect.extend(toHaveNoViolations);
6
+// @ts-ignore
7
+global.TextEncoder = TextEncoder;
8
9
+global.TextDecoder = TextDecoder;
0 commit comments