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 db11603 commit b916c54Copy full SHA for b916c54
jest.setup.js
@@ -1,5 +1,6 @@
1
-// jest.setup.js
2
-const { TextEncoder, TextDecoder } = require("util");
+// Ensure jest-dom matchers are available in all tests
+require("@testing-library/jest-dom");
3
4
+const { TextEncoder, TextDecoder } = require("util");
5
global.TextEncoder = TextEncoder;
6
global.TextDecoder = TextDecoder;
0 commit comments