Merge pull request #542 from UziTech/fix-tests-windows

Fix testing on windows
This commit is contained in:
James Sumners 2019-08-27 18:04:08 -04:00 committed by GitHub
commit b62e303fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 11 deletions

View File

@ -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/*

View File

@ -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": {