test: throw if no valid outDir (#22412)
This commit is contained in:
parent
36f982aee2
commit
02cf5baa32
2 changed files with 12 additions and 1 deletions
|
@ -32,6 +32,12 @@ by coding style rules. `npm run lint-py` will check all Python, using
|
|||
|
||||
## Unit Tests
|
||||
|
||||
If you are not using [build-tools](https://github.com/electron/build-tools),
|
||||
ensure that that name you have configured for your
|
||||
local build of Electron is one of `Testing`, `Release`, `Default`, `Debug`, or
|
||||
you have set `process.env.ELECTRON_OUT_DIR`. Without these set, Electron will fail
|
||||
to perform some pre-testing steps.
|
||||
|
||||
To run all unit tests, run `npm run test`. The unit tests are an Electron
|
||||
app (surprise!) that can be found in the `spec` folder. Note that it has
|
||||
its own `package.json` and that its dependencies are therefore not defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue