From bec484695318afce13cfe3f6f5adfae15cec448c Mon Sep 17 00:00:00 2001 From: Matthew Irish Date: Wed, 3 Apr 2019 14:50:00 -0500 Subject: [PATCH] sync testem.js changes (#6529) --- ui/testem.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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;