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/*
|
||||
|
||||
- stage: test 👩🏽💻
|
||||
os: linux
|
||||
script: npm run test:cov
|
||||
node_js: node
|
||||
- node_js: lts/*
|
||||
# - os: windows
|
||||
# node_js: node
|
||||
# - os: windows
|
||||
# node_js: lts/*
|
||||
|
||||
- os: linux
|
||||
script: npm run test:cov
|
||||
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"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tap --no-cov 'test/**/*.test.js'",
|
||||
"test:cov": "tap 'test/**/*.test.js'",
|
||||
"test:cov:html": "tap --coverage-report=html 'test/**/*.test.js'",
|
||||
"test:watch": "tap -n -w --no-coverage-report 'test/**/*.test.js'",
|
||||
"lint": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js' | snazzy",
|
||||
"lint:ci": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js'"
|
||||
"test": "tap --no-cov test/**/*.test.js",
|
||||
"test:cov": "tap test/**/*.test.js",
|
||||
"test:cov:html": "tap --coverage-report=html test/**/*.test.js",
|
||||
"test:watch": "tap -n -w --no-coverage-report test/**/*.test.js",
|
||||
"lint": "standard examples/**/*.js lib/**/*.js test/**/*.js | snazzy",
|
||||
"lint:ci": "standard examples/**/*.js lib/**/*.js test/**/*.js"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
Loading…
Reference in New Issue