Merge pull request #542 from UziTech/fix-tests-windows
Fix testing on windows
This commit is contained in:
commit
b62e303fc4
18
.travis.yml
18
.travis.yml
|
@ -24,10 +24,18 @@ jobs:
|
||||||
node_js: lts/*
|
node_js: lts/*
|
||||||
|
|
||||||
- stage: test 👩🏽💻
|
- stage: test 👩🏽💻
|
||||||
|
os: linux
|
||||||
script: npm run test:cov
|
script: npm run test:cov
|
||||||
node_js: node
|
node_js: node
|
||||||
- node_js: lts/*
|
|
||||||
# - os: windows
|
- os: linux
|
||||||
# node_js: node
|
script: npm run test:cov
|
||||||
# - os: windows
|
node_js: lts/*
|
||||||
# node_js: lts/*
|
|
||||||
|
- os: windows
|
||||||
|
script: npm run test:cov
|
||||||
|
node_js: node
|
||||||
|
|
||||||
|
- os: windows
|
||||||
|
script: npm run test:cov
|
||||||
|
node_js: lts/*
|
||||||
|
|
12
package.json
12
package.json
|
@ -36,12 +36,12 @@
|
||||||
"uuid": "^3.3.3"
|
"uuid": "^3.3.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tap --no-cov 'test/**/*.test.js'",
|
"test": "tap --no-cov test/**/*.test.js",
|
||||||
"test:cov": "tap 'test/**/*.test.js'",
|
"test:cov": "tap test/**/*.test.js",
|
||||||
"test:cov:html": "tap --coverage-report=html 'test/**/*.test.js'",
|
"test:cov:html": "tap --coverage-report=html test/**/*.test.js",
|
||||||
"test:watch": "tap -n -w --no-coverage-report 'test/**/*.test.js'",
|
"test:watch": "tap -n -w --no-coverage-report test/**/*.test.js",
|
||||||
"lint": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js' | snazzy",
|
"lint": "standard examples/**/*.js lib/**/*.js test/**/*.js | snazzy",
|
||||||
"lint:ci": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js'"
|
"lint:ci": "standard examples/**/*.js lib/**/*.js test/**/*.js"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
|
Loading…
Reference in New Issue