You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@vue/cli-plugin-unit-jest/README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,16 @@
15
15
16
16
All [Jest command line options](https://facebook.github.io/jest/docs/en/cli.html) are also supported.
17
17
18
+
## Debugging Tests
19
+
20
+
Note that directly running `jest` will fail because the Babel preset requires hints to make your code work in Node.js, so you must run your tests with `vue-cli-service test:unit`.
21
+
22
+
If you want to debug your tests via the Node inspector, you can run the following:
0 commit comments