Skip to content

Commit 221d381

Browse files
authored
Run tests in Windows friendly way
Use npx tsc and dotnet test rather than dotnet xunit
1 parent 2510a5e commit 221d381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"postinstall": "dotnet restore ./api && dotnet restore ./api.test",
88
"build": "dotnet build ./api",
9-
"test:api": "cd ./api.test && dotnet xunit",
10-
"pretest:client": "./node_modules/typescript/bin/tsc -p ./client-react.test/",
9+
"test:api": "cd ./api.test && dotnet test",
10+
"pretest:client": "npx tsc -p ./client-react.test/",
1111
"test:client": "mocha --require ignore-styles --recursive client-react.test/build/client-react.test",
1212
"test": "npm run test:api && npm run test:client",
1313
"migrate": "cd ./api/ && node ../scripts/create-migration.js && dotnet ef database update",

0 commit comments

Comments
 (0)