We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f431e0 commit 67c55a0Copy full SHA for 67c55a0
docs/guide/testingAndDebugging.md
@@ -34,7 +34,10 @@ vue-cli-plugin-electron-builder exports a `testWithSpectron` function. This func
34
35
```javascript
36
// This example uses Jest, but any testing framework will work as well
37
-
+// Jest tests MUST run in the node environment, add this to the top of each electron test:
38
+/**
39
+ * @jest-environment node
40
+ */
41
const spectron = require('spectron')
42
const { testWithSpectron } = require('vue-cli-plugin-electron-builder')
43
jest.setTimeout(50000)
0 commit comments