Skip to content

Commit

Permalink
fix: prevent test matcher warning (#3893)
Browse files Browse the repository at this point in the history
* fix: prevent test matcher warning

* chore: add node types

* chore: update Jest related packages

* chore: run pnpm install
  • Loading branch information
ryo-manba authored Oct 28, 2024
1 parent 5ac433a commit 8de427b
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 576 deletions.
5 changes: 0 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Loading

0 comments on commit 8de427b

Please sign in to comment.