Skip to content

Commit 2f4c01d

Browse files
committed
Improved debug output in test:debug script
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent f3bb078 commit 2f4c01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"build:dev": "webpack",
3535
"test": "jest && npm run build:prod && cross-env MAIN=dist/package/production jest",
3636
"test:dev": "npm run build:dev && jest",
37-
"test:debug": "cross-env DEBUG=$(basename $PWD) node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
37+
"test:debug": "cross-env DEBUG=\"$(basename $PWD),$(basename $PWD):*\" node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
3838
"release": "npm run clean && npm test && cross-env git tag v$npm_package_version && git push --tags && cross-env opn https://github.com/$npm_package_author_name/$(basename $PWD)/releases/new?tag=v$npm_package_version"
3939
}
4040
}

0 commit comments

Comments
 (0)