mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix: prevent test matcher warning (#3893)
* fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install
This commit is contained in:
parent
5ac433a905
commit
8de427b81a
@ -19,10 +19,5 @@ module.exports = {
|
||||
},
|
||||
transformIgnorePatterns: ["[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"],
|
||||
setupFilesAfterEnv: ["@testing-library/jest-dom", "./scripts/setup-test.ts"],
|
||||
globals: {
|
||||
"ts-jest": {
|
||||
tsconfig: "tsconfig.json",
|
||||
},
|
||||
},
|
||||
watchPlugins: ["jest-watch-typeahead/filename", "jest-watch-typeahead/testname"],
|
||||
};
|
||||
|
||||
11
package.json
11
package.json
@ -70,14 +70,13 @@
|
||||
"@react-types/link": "^3.4.4",
|
||||
"@react-types/shared": "3.23.1",
|
||||
"@storybook/react": "^7.4.6",
|
||||
"@swc-node/jest": "^1.5.2",
|
||||
"@swc/core": "^1.3.35",
|
||||
"@swc/jest": "^0.2.24",
|
||||
"@testing-library/dom": "^10.4.0",
|
||||
"@testing-library/jest-dom": "^6.5.0",
|
||||
"@testing-library/jest-dom": "^6.6.2",
|
||||
"@testing-library/react": "^16.0.1",
|
||||
"@testing-library/user-event": "^14.5.2",
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^15.12.4",
|
||||
"@types/react": "^18.0.1",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
@ -97,7 +96,7 @@
|
||||
"eslint-import-resolver-typescript": "^2.4.0",
|
||||
"eslint-loader": "^4.0.2",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jest": "^24.3.6",
|
||||
"eslint-plugin-jest": "^24.7.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
@ -114,8 +113,8 @@
|
||||
"husky": "^8.0.1",
|
||||
"intl-messageformat": "^10.1.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^28.1.3",
|
||||
"jest-watch-typeahead": "1.1.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jest-watch-typeahead": "2.2.2",
|
||||
"lint-staged": "^13.0.3",
|
||||
"npm-check-updates": "^16.10.18",
|
||||
"npm-run-all": "^4.1.5",
|
||||
|
||||
696
pnpm-lock.yaml
generated
696
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"types": ["@testing-library/jest-dom", "node"],
|
||||
"lib": ["dom", "esnext"],
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user