Skip to content

Commit

Permalink
test: update jest config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 19, 2023
1 parent d1d43f3 commit 04c6b49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@
"node": ">=16.0.0"
},
"devDependencies": {
"@kkt/less-modules": "^7.5.2",
"@kkt/ncc": "^1.0.15",
"@kkt/less-modules": "^7.5.4",
"@kkt/ncc": "^1.1.1",
"compile-less-cli": "^1.8.13",
"husky": "^8.0.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.6.0",
"jest-environment-node": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"lerna": "^7.1.4",
"lint-staged": "^15.0.0",
"prettier": "^3.0.1",
Expand Down
3 changes: 0 additions & 3 deletions test/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* @jest-environment jsdom
*/
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"kkt": "^7.4.9",
"kkt": "^7.5.4",
"markdown-react-code-preview-loader": "^2.1.2"
},
"eslintConfig": {
Expand Down

0 comments on commit 04c6b49

Please sign in to comment.