Skip to content

Commit 32acce9

Browse files
Add debug test script
1 parent 1aaf2fe commit 32acce9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
"transpile": "microbundle src/index.js -f es,umd --target web --external preact",
3232
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
3333
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
34-
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run bench",
35-
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/[!compat]*.test.js",
34+
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run test:mocha:debug && npm run bench",
35+
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/[!compat][!debug]*.test.js",
3636
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/compat.test.js 'test/compat-*.test.js'",
37+
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/debug.test.js 'test/debug-*.test.js'",
3738
"format": "prettier src/**/*.{d.ts,js} test/**/*.js --write",
3839
"prepublishOnly": "npm run build",
3940
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)