mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
utils: add test for subtask matcher
This commit is contained in:
3 files changed
+67
-2
No files matched your search
+3
-1
@@ -17,7 +17,7 @@
|
||||
"build:ui:dev:https": "node packages/ui-default/build --gulp && node --trace-deprecation packages/ui-default/build --dev --https",
|
||||
"build:ui:production": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --gulp && node packages/ui-default/build --production",
|
||||
"build:ui:production:webpack": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --production",
|
||||
"test": "node test/entry.js",
|
||||
"test": "node -r @hydrooj/utils/lib/register packages/utils/tests/subtask.spec.ts && node test/entry.js",
|
||||
"benchmark": "cross-env BENCHMARK=true node test/entry.js",
|
||||
"lint": "eslint packages plugins modules --ext .ts,.tsx,.jsx --fix",
|
||||
"lint:ci": "eslint packages plugins modules --ext .ts,.tsx,.jsx --max-warnings=0",
|
||||
@@ -33,12 +33,14 @@
|
||||
"devDependencies": {
|
||||
"@simplewebauthn/typescript-types": "7.4.0",
|
||||
"@types/autocannon": "^7.12.5",
|
||||
"@types/chai": "^4",
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/node": "^20.10.0",
|
||||
"@types/semver": "^7.5.6",
|
||||
"@types/supertest": "^2.0.16",
|
||||
"autocannon": "^7.14.0",
|
||||
"cac": "^6.7.14",
|
||||
"chai": "^4.3.10",
|
||||
"chokidar": "^3.5.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"cross-spawn": "^7.0.3",
|
||||
|
||||
Reference in new issue
Block a user