diff --git a/ui/testem.js b/ui/testem.js index 225597036..269afe393 100644 --- a/ui/testem.js +++ b/ui/testem.js @@ -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;