Skip to content

Commit

Permalink
Improve test setup for isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Jul 15, 2022
1 parent 704822f commit e33b969
Show file tree
Hide file tree
Showing 6 changed files with 1,174 additions and 2,588 deletions.
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"scripts": {
"start": "tsup --watch",
"build": "tsup",
"test": "jest",
"test": "jest --runInBand",
"setup": "pnpm i && cd site && pnpm i && cd .. && pnpm run link",
"link": "pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom",
"size": "size-limit"
Expand Down Expand Up @@ -73,19 +73,22 @@
}
],
"devDependencies": {
"@jest/types": "^28.1.3",
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.4",
"@types/react-dom": "^17.0.0",
"@types/react": "^17.0.0",
"csstype": "^3.0.7",
"jest-environment-jsdom": "^28.1.2",
"jest-matchmedia-mock": "^1.1.0",
"jest": "^28.1.2",
"@types/jest": "^28.1.5",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/testing-library__jest-dom": "^5.14.5",
"csstype": "^3.1.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"ts-jest": "^28.0.5",
"ts-jest": "^28.0.6",
"tslib": "^2.4.0",
"tsup": "^6.1.3",
"typescript": "^4.7.4"
Expand Down
Loading

0 comments on commit e33b969

Please sign in to comment.