Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to no environment variables for ava tests #287

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"postversion": "npm publish",
"postpublish": "npm run syn && git push --follow-tags",
"release": "git checkout master && npm run syn && npx standard-version && npm publish",
"tape": "npx nyc tape test/*test.js",
"tapew": "npx onchange -i '**/*.js' -- npm run tape",
"tape": "TEST=tape npx nyc tape test/*test.js",
"tapew": "TEST=tape npx onchange -i '**/*.js' -- npm run tape",
"tap": "npx tap test/*test.js",
"tapw": "npm run tap -- -w",
"ava": "TEST=ava npx nyc ava test/*test.js",
"avaw": "TEST=ava npx ava test/*test.js -w",
"ava-c8": "TEST=ava npx c8 ava test/*test.js",
"ava": "npx nyc ava test/*test.js",
"avaw": "npx ava test/*test.js -w",
"ava-c8": "npx c8 ava test/*test.js",
"cov-tap": "npx tap test/*test.js --coverage-report=lcov",
"cov-ava": "TEST=ava npx c8 ava test/*test.js --coverage-report=lcov",
"cov-ava": "npx c8 ava test/*test.js --coverage-report=lcov",
"rebcont": "git add . && git rebase --continue",
"toc": "npx markdown-toc DOCUMENTATION.md > toc",
"doc": "npx documentation build 'index.js' -f html -o auto-docs --github",
Expand Down
2 changes: 1 addition & 1 deletion test/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const test = process.env.TEST || 'tape'
const test = process.env.TEST || 'ava'

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