mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Add 'Debugging tests on macOS' notes (#3724)
* Add 'Debugging tests on macOS' notes * Add 'Debugging tests on macOS' notes (2) * Add 'Debugging tests on macOS' notes (3)
This commit is contained in:
parent
f184016197
commit
61c0976cd2
@ -40,6 +40,12 @@ yarn test:unit
|
|||||||
yarn test:e2e
|
yarn test:e2e
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Debugging tests on macOS
|
||||||
|
|
||||||
|
Searching for `getPort()` will reveal it's used to start new Nuxt processes during tests. It's been seen to stop working on macOS at times and may require you to manually set a port for testing.
|
||||||
|
|
||||||
|
Another common issue is Nuxt processes that may hang in memory when running fixture tests. A ghost process will often prevent subsequent tests from working. Run `ps aux | grep -i node` to inspect any hanging test processes if you suspect this is happening.
|
||||||
|
|
||||||
## Opening PRs
|
## Opening PRs
|
||||||
|
|
||||||
- Please make sure your PR passes the lint test (`npm run lint`).
|
- Please make sure your PR passes the lint test (`npm run lint`).
|
||||||
|
Loading…
Reference in New Issue
Block a user