sync testem.js changes (#6529)

This commit is contained in:
Matthew Irish 2019-04-03 14:50:00 -05:00 committed by GitHub
parent b67c8a1198
commit bec4846953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

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;