From ef548a7eca1884ad9db9d22a7dab0e540fd2b3a1 Mon Sep 17 00:00:00 2001 From: ziga Date: Sat, 21 Dec 2019 00:51:26 -0500 Subject: [PATCH] Update debugging instructions (#4754) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I only tested on macOS – but I suspect it's same on all OS-es. Refs: - https://jestjs.io/docs/en/troubleshooting - https://jestjs.io/docs/en/cli.html#runinband --- packages/@vue/cli-plugin-unit-jest/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-unit-jest/README.md b/packages/@vue/cli-plugin-unit-jest/README.md index d2944bc748..ef9a85118f 100644 --- a/packages/@vue/cli-plugin-unit-jest/README.md +++ b/packages/@vue/cli-plugin-unit-jest/README.md @@ -23,10 +23,10 @@ If you want to debug your tests via the Node inspector, you can run the followin ```sh # macOS or linux -node --inspect-brk ./node_modules/.bin/vue-cli-service test:unit +node --inspect-brk ./node_modules/.bin/vue-cli-service test:unit --runInBand # Windows -node --inspect-brk ./node_modules/@vue/cli-service/bin/vue-cli-service.js test:unit +node --inspect-brk ./node_modules/@vue/cli-service/bin/vue-cli-service.js test:unit --runInBand ``` ## Configuration