Skip to content

Commit b916c54

Browse files
committed
update jest setup
1 parent db11603 commit b916c54

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jest.setup.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// jest.setup.js
2-
const { TextEncoder, TextDecoder } = require("util");
1+
// Ensure jest-dom matchers are available in all tests
2+
require("@testing-library/jest-dom");
33

4+
const { TextEncoder, TextDecoder } = require("util");
45
global.TextEncoder = TextEncoder;
56
global.TextDecoder = TextDecoder;

0 commit comments

Comments
 (0)