test(graphql): added npm run test-graph script for graphql only testing

This commit is contained in:
Dimitrie Stefanescu
2020-04-25 11:55:34 +01:00
parent d35af3bb94
commit 5e88b890e9
+1 -1
View File
@@ -7,7 +7,7 @@
"dev": "NODE_ENV=development DEBUG=www:server,speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env",
"test": "DEBUG=speckle:test,speckle:errors NODE_ENV=test nyc nyc --reporter=html mocha -s 0 --exit",
"test-watch": "DEBUG=speckle:test,speckle:errors NODE_ENV=test mocha --watch -s 0 --exit",
"test-watch-g": "DEBUG=speckle:test,speckle:errors NODE_ENV=test mocha ./modules/core/tests/graph.spec.js --watch -s 0 --exit"
"test-graph": "DEBUG=speckle:test,speckle:errors NODE_ENV=test mocha ./modules/core/tests/graph.spec.js --watch -s 0 --exit --no-config"
},
"author": "",
"license": "MIT",