Skip to content

Commit

Permalink
test: switch to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Jan 31, 2025
1 parent a10ee6f commit a719233
Show file tree
Hide file tree
Showing 24 changed files with 937 additions and 2,778 deletions.
13 changes: 0 additions & 13 deletions jest.config.js

This file was deleted.

1 change: 0 additions & 1 deletion jest.setup.js

This file was deleted.

14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,26 @@
"prepublishOnly": "npx yarn build",
"prettier:check": "prettier --list-different \"src/**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"src/**/*.{ts,tsx}\"",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test": "vitest run",
"prepare": "husky"
},
"bin": {
"electron-docs-linter": "./dist/bin.js",
"electron-docs-parser": "./dist/bin.js"
},
"files": [
"dist",
"!dist/__tests__"
"dist"
],
"devDependencies": {
"@types/chai": "^4.3.19",
"@types/jest": "^29.5.13",
"@types/lodash.camelcase": "^4.3.9",
"@types/node": "^22.5.5",
"@types/pretty-ms": "^5.0.1",
"cross-env": "^7.0.3",
"husky": "^9.1.6",
"jest": "^30.0.0-alpha.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"vitest": "^3.0.4"
},
"dependencies": {
"@types/markdown-it": "^14.1.2",
Expand Down Expand Up @@ -71,4 +67,4 @@
"url": "https://github.com/electron/docs-parser/issues"
},
"homepage": "https://github.com/electron/docs-parser#readme"
}
}
Loading

0 comments on commit a719233

Please sign in to comment.