dev: add cargo test to pnpm scripts

mocha test has been unmaintained for a long time and is very broken :(
This commit is contained in:
naskya 2024-04-21 22:36:05 +09:00
parent 131b3686d4
commit ce672f4edd
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@
"debug": "pnpm run build:debug && pnpm run start",
"build:debug": "pnpm run clean && pnpm node ./scripts/dev-build.mjs && pnpm run gulp",
"mocha": "pnpm --filter backend run mocha",
"test": "pnpm run mocha",
"test": "pnpm run test:ts && pnpm run test:rs",
"test:ts": "pnpm run mocha",
"test:rs": "cargo test",
"format": "pnpm run format:ts; pnpm run format:rs",
"format:ts": "pnpm -r --parallel run format",
"format:rs": "cargo fmt --all --",