mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-01 01:10:44 -05:00
59adbd69c7
* feat: Upgraded Nightwatch to version 1.2; updated distributed config; added new cli flags: --headless, --parallel...; added support for running chromedriver and geckodriver standalone; added unit tests * docs: updated nightwatch plugin readme * feat: add chromedriver and geckodriver as peer dependencies * updated readme and driver depedencies * updated optional dependencies * fixed failing tests * updated generated tests * updated tests
15 lines
360 B
JavaScript
15 lines
360 B
JavaScript
/**
|
|
* This file is copied during the test inside the project folder and used to inpsect the results
|
|
*/
|
|
const fs = require('fs')
|
|
|
|
module.exports = {
|
|
afterEach (browser, cb) {
|
|
fs.writeFile('test_settings.json', JSON.stringify(browser.options), cb)
|
|
},
|
|
|
|
reporter (results, cb) {
|
|
fs.writeFile('test_results.json', JSON.stringify(results), cb)
|
|
}
|
|
}
|