b058427b76
* Disable concurrency for tests * Add browser instance sharing * Bump concurrency and install chromedriver smoother * Fix config typo * Fix local test * Limit azure concurrency again * Add delay for empty-object-test * Make sure to use open port for chromedriver * Move browser closing to jest-environment * Re-enable concurrency for Azure * bump * Disable concurrency for Azure again * Re-enable concurrency for Azure * bump
9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
let globalTeardown = () => {}
|
|
|
|
if (process.env.BROWSERSTACK) {
|
|
globalTeardown = () => global.browserStackLocal.killAllProcesses(() => {})
|
|
}
|
|
|
|
module.exports = async () => {
|
|
await globalTeardown()
|
|
}
|