sync testem.js changes (#6529)

This commit is contained in:
Matthew Irish
2019-04-03 14:50:00 -05:00
committed by GitHub
parent ef9a90cb16
commit c514b79b45

View File

@@ -1,5 +1,4 @@
/* eslint-env node */
module.exports = {
const config = {
framework: 'qunit',
test_page: 'tests/index.html?hidepassed',
tap_quiet_logs: true,
@@ -28,3 +27,11 @@ module.exports = {
},
},
};
if (process.env.CI) {
config.reporter = 'xunit';
config.report_file = 'test-reports/ember.xml';
config.xunit_intermediate_output = true;
}
module.exports = config;