mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
add vitest for JS/TS testing with comprehensive test coverage
This commit is contained in:
+10
-2
@@ -41,10 +41,16 @@
|
||||
"build": "cross-env NODE_ENV=production rollup -c",
|
||||
"clean": "rimraf src/*/Prime/Resources/dist",
|
||||
"link": "npm link --workspaces",
|
||||
"ncu": "ncu -u && npm run ncu --workspaces"
|
||||
"ncu": "ncu -u && npm run ncu --workspaces",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:ui": "vitest --ui"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^2.27.3",
|
||||
"@vitest/coverage-v8": "^3.0.7",
|
||||
"@vitest/ui": "^3.0.7",
|
||||
"@babel/core": "^7.29.0",
|
||||
"@babel/preset-env": "^7.29.0",
|
||||
"@rollup/plugin-babel": "^6.1.0",
|
||||
@@ -84,6 +90,8 @@
|
||||
"sass": "^1.97.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.9.3"
|
||||
"typescript": "^5.9.3",
|
||||
"vitest": "^3.0.7",
|
||||
"jsdom": "^26.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user