Skip to content

Commit

Permalink
Update test script
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Aug 23, 2019
1 parent f0b731d commit 9710411
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"scripts": {
"lint": "standard lib/*",
"pretest": "npm run lint",
"test": "tap test/*.spec.js --reporter spec",
"snap": "TAP_SNAPSHOT=1 tap test/*.spec.js"
"test": "tap test/*.spec.js --reporter spec --test-env=FORCE_COLOR=0",
"snap": "TAP_SNAPSHOT=1 npm run test"
},
"dependencies": {
"kleur": "^3.0.3",
Expand Down
14 changes: 7 additions & 7 deletions tap-snapshots/test-cli.spec.js-TAP.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
'use strict'
exports[`test/cli.spec.js TAP runs \`why qs\` > snapshot 1`] = `
Who required [34mqs[39m:
Who required qs:
[34mnls[39m > [34mtap[39m > [34mcoveralls[39m > [34mrequest[39m > [34mqs[39m[2m@6.5.2[22m
nls > tap > coveralls > request > qs@6.5.2
`

exports[`test/cli.spec.js TAP runs in home dir > snapshot 1`] = `
npm scripts[39m:
npm scripts:
* [34m[1mlint [39m[22m standard lib/*
* [34m[1mpretest[39m[22m npm run lint
* [34m[1mtest [39m[22m tap test/*.spec.js --reporter spec
* [34m[1msnap [39m[22m TAP_SNAPSHOT=1 tap test/*.spec.js
* lint standard lib/*
* pretest npm run lint
* test tap test/*.spec.js --reporter spec --test-env=FORCE_COLOR=0
* snap TAP_SNAPSHOT=1 npm run test
`

0 comments on commit 9710411

Please sign in to comment.