Skip to content

Commit 2dad808

Browse files
authored
chore: configure jest testing library setup (#27)
1 parent a5f845d commit 2dad808

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

frontend/jest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import '@testing-library/jest-dom';

frontend/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,10 @@
5151
"ts-jest": "^29.2.5",
5252
"typescript": "^5",
5353
"vitest": "^1.6.0"
54+
},
55+
"jest": {
56+
"setupFilesAfterEnv": [
57+
"<rootDir>/jest.setup.ts"
58+
]
5459
}
5560
}

0 commit comments

Comments
 (0)