Skip to content

Commit

Permalink
Merge pull request #37 from vangberg/issue/36/run-tests-in-electrons-…
Browse files Browse the repository at this point in the history
…node

Run tests in Node shipped with Electron
  • Loading branch information
vangberg authored Dec 19, 2024
2 parents a4744ae + fa8ff37 commit a6c87d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dist:win": "electron-builder -w",
"publish": "electron-builder --publish always",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"test": "jest",
"test-watch": "jest --watch",
"test": "ELECTRON_RUN_AS_NODE=1 electron ./node_modules/.bin/jest",
"test-watch": "ELECTRON_RUN_AS_NODE=1 electron ./node_modules/.bin/jest --watch",
"postinstall": "electron-builder install-app-deps",
"notarize": "./notarize.sh"
},
Expand Down

0 comments on commit a6c87d3

Please sign in to comment.