Skip to content

Commit 7d52114

Browse files
committed
switch to no environment variables for ava tests
1 parent 56441eb commit 7d52114

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"postversion": "npm publish",
1919
"postpublish": "npm run syn && git push --follow-tags",
2020
"release": "git checkout master && npm run syn && npx standard-version && npm publish",
21-
"tape": "npx nyc tape test/*test.js",
22-
"tapew": "npx onchange -i '**/*.js' -- npm run tape",
21+
"tape": "TEST=tape npx nyc tape test/*test.js",
22+
"tapew": "TEST=tape npx onchange -i '**/*.js' -- npm run tape",
2323
"tap": "npx tap test/*test.js",
2424
"tapw": "npm run tap -- -w",
25-
"ava": "TEST=ava npx nyc ava test/*test.js",
26-
"avaw": "TEST=ava npx ava test/*test.js -w",
27-
"ava-c8": "TEST=ava npx c8 ava test/*test.js",
25+
"ava": "npx nyc ava test/*test.js",
26+
"avaw": "npx ava test/*test.js -w",
27+
"ava-c8": "npx c8 ava test/*test.js",
2828
"cov-tap": "npx tap test/*test.js --coverage-report=lcov",
29-
"cov-ava": "TEST=ava npx c8 ava test/*test.js --coverage-report=lcov",
29+
"cov-ava": "npx c8 ava test/*test.js --coverage-report=lcov",
3030
"rebcont": "git add . && git rebase --continue",
3131
"toc": "npx markdown-toc DOCUMENTATION.md > toc",
3232
"doc": "npx documentation build 'index.js' -f html -o auto-docs --github",

Diff for: test/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const test = process.env.TEST || 'tape'
1+
const test = process.env.TEST || 'ava'
22

33
const getTestPatch = ({
44
'tape': _ => require('./helpers/tape-patched'),

0 commit comments

Comments
 (0)