mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: force Mocha to exit on CI (#5862)
We have some bug where some test runs will pass but then stall as Mocha doesn't exit cleanly. This is proving very hard to track down (I've yet to replicate it or find the test that causes it) and it doesn't happen consistently. The `exit` flag forces Mocha to hard exit. This will help with CI stability. The flag only gets set on CI runs.
This commit is contained in:
parent
9368edbac9
commit
0aba6dfddf
@ -1,3 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
reporter: 'dot',
|
reporter: 'dot',
|
||||||
|
exit: !!process.env.CI,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user