mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
ef01f13e5d
* Update jest * Let jest start chromedriver This makes sure chromedriver always ends even if the test was canceled by the user. * Properly close browser in production-config test * Properly close browser in production/security test * Properly close browser in export test * Properly close browser in app-aspath test * Remove taskr from project root This isn’t needed anymore * Readd taskr to project root (temporary) * Improve global setup/teardown * Properly close browser in basic/client-navigation test Clicking an target=_blank link will open a second browser window. We can only close this by using broser.quit()
6 lines
119 B
JavaScript
6 lines
119 B
JavaScript
const chromedriver = require('chromedriver')
|
|
|
|
module.exports = async function globalSetup () {
|
|
chromedriver.stop()
|
|
}
|