Skip to content

Commit ef548a7

Browse files
zigomirNataliaTepluhina
authored andcommitted
Update debugging instructions (#4754)
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
1 parent 00acca5 commit ef548a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli-plugin-unit-jest/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ If you want to debug your tests via the Node inspector, you can run the followin
2323

2424
```sh
2525
# macOS or linux
26-
node --inspect-brk ./node_modules/.bin/vue-cli-service test:unit
26+
node --inspect-brk ./node_modules/.bin/vue-cli-service test:unit --runInBand
2727

2828
# Windows
29-
node --inspect-brk ./node_modules/@vue/cli-service/bin/vue-cli-service.js test:unit
29+
node --inspect-brk ./node_modules/@vue/cli-service/bin/vue-cli-service.js test:unit --runInBand
3030
```
3131

3232
## Configuration

0 commit comments

Comments
 (0)