mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-25 14:28:15 -05:00
5baec1fdc5
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
15 lines
360 B
JavaScript
15 lines
360 B
JavaScript
/**
|
|
* This file is copied during the test inside the project folder and used to inspect 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)
|
|
}
|
|
}
|