Skip to content

Commit

Permalink
chore(madrun) add test:inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Oct 1, 2021
1 parent cccea1f commit 202810a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .madrun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const env = {

export default {
'test': () => [env, `tape '${dirs}/*/test/*.*' '${dirs}/*/{bin,lib}/**/*.spec.*'`],
'test:inspect': () => [env, `node --inspect-brk --inspect=0.0.0.0 node_modules/.bin/${cutEnv('test')}`],
'test:fail': async () => await run('test', '-f fail'),
'test:slow': () => 'FORCE_COLOR=3 lerna run test',
'coverage:ci': async () => [env, `c8 --no-skip-full ${await cutEnv('test')}`],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"scripts": {
"test": "madrun test",
"test:inspect": "madrun test:inspect",
"test:fail": "madrun test:fail",
"test:slow": "madrun test:slow",
"coverage:ci": "madrun coverage:ci",
Expand Down

0 comments on commit 202810a

Please sign in to comment.