rsnext/test/jest-global-teardown.js
Henrik Wenz 95a6a872b6 Refactor test setup (#5391)
- [x] Move jest config from npm scripts to `jest.config.js`
- [x] Remove obsolete cross-env package (we don't need it anymore 🎉)
- [x] Fix bug where tests are not waiting for webdriver to be ready.
2018-10-12 15:32:17 +02:00

7 lines
133 B
JavaScript

'use strict'
const chromedriver = require('chromedriver')
module.exports = async function globalSetup () {
chromedriver.stop()
}