You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
make the npm test script windows-friendly
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test:build": "babel -s -d specbuild spec",
|
"test:build": "babel -s -d specbuild spec",
|
||||||
"test:run": "istanbul cover --report text --report cobertura --config .istanbul.yml -i \"lib/**/*.js\" _mocha -- --recursive specbuild --colors --reporter mocha-jenkins-reporter --reporter-options junit_report_path=reports/test-results.xml",
|
"test:run": "istanbul cover --report text --report cobertura --config .istanbul.yml -i \"lib/**/*.js\" node_modules/mocha/bin/_mocha -- --recursive specbuild --colors --reporter mocha-jenkins-reporter --reporter-options junit_report_path=reports/test-results.xml",
|
||||||
"test:watch": "mocha --watch --compilers js:babel-core/register --recursive spec --colors",
|
"test:watch": "mocha --watch --compilers js:babel-core/register --recursive spec --colors",
|
||||||
"test": "npm run test:build && npm run test:run",
|
"test": "npm run test:build && npm run test:run",
|
||||||
"check": "npm run test:build && _mocha --recursive specbuild --colors",
|
"check": "npm run test:build && _mocha --recursive specbuild --colors",
|
||||||
|
|||||||
Reference in New Issue
Block a user