Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit b62e303

Browse files
authored
Merge pull request #542 from UziTech/fix-tests-windows
Fix testing on windows
2 parents cd426ca + 303d963 commit b62e303

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,18 @@ jobs:
2424
node_js: lts/*
2525

2626
- stage: test 👩🏽‍💻
27+
os: linux
2728
script: npm run test:cov
2829
node_js: node
29-
- node_js: lts/*
30-
# - os: windows
31-
# node_js: node
32-
# - os: windows
33-
# node_js: lts/*
30+
31+
- os: linux
32+
script: npm run test:cov
33+
node_js: lts/*
34+
35+
- os: windows
36+
script: npm run test:cov
37+
node_js: node
38+
39+
- os: windows
40+
script: npm run test:cov
41+
node_js: lts/*

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
"uuid": "^3.3.3"
3737
},
3838
"scripts": {
39-
"test": "tap --no-cov 'test/**/*.test.js'",
40-
"test:cov": "tap 'test/**/*.test.js'",
41-
"test:cov:html": "tap --coverage-report=html 'test/**/*.test.js'",
42-
"test:watch": "tap -n -w --no-coverage-report 'test/**/*.test.js'",
43-
"lint": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js' | snazzy",
44-
"lint:ci": "standard 'examples/**/*.js' 'lib/**/*.js' 'test/**/*.js'"
39+
"test": "tap --no-cov test/**/*.test.js",
40+
"test:cov": "tap test/**/*.test.js",
41+
"test:cov:html": "tap --coverage-report=html test/**/*.test.js",
42+
"test:watch": "tap -n -w --no-coverage-report test/**/*.test.js",
43+
"lint": "standard examples/**/*.js lib/**/*.js test/**/*.js | snazzy",
44+
"lint:ci": "standard examples/**/*.js lib/**/*.js test/**/*.js"
4545
},
4646
"husky": {
4747
"hooks": {

0 commit comments

Comments
 (0)