From 4ce600a6f45b4f11b6bc9ccaad48c5416b604ec1 Mon Sep 17 00:00:00 2001 From: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com> Date: Fri, 11 Sep 2020 10:10:25 +0200 Subject: [PATCH] chore: Remove target debug-unit and add unit-debug (#6411) * debug-unit is confusing * unit-debug runs all tests in debug mode --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 20f876891d07a..8be5b75aba146 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "test-browser": "wtr", "test-browser-watch": "wtr --watch", "unit": "npm run tsc-cjs && mocha --config mocha-config/puppeteer-unit-tests.js", + "unit-debug": "npm run tsc-cjs && mocha --inspect-brk --config mocha-config/puppeteer-unit-tests.js", "unit-with-coverage": "cross-env COVERAGE=1 npm run unit", "assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js", "funit": "PUPPETEER_PRODUCT=firefox npm run unit", - "debug-unit": "node --inspect-brk test/test.js", "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser && npm run test-types", "prepare": "node typescript-if-required.js", "prepublishOnly": "npm run tsc",