Skip to content

Commit 6f5255c

Browse files
committed
refactor: keep qunit-default as the default
1 parent 028bee6 commit 6f5255c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

addon/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ module.exports = function (defaults) {
190190
*/
191191
disableContainerStyles: true,
192192
/**
193-
* default: 'ember'
194-
* options: 'ember' | 'qunit-default'
193+
* default: 'qunit-default'
194+
* options: 'qunit-default' | 'ember'
195195
*
196196
* Sets the theme for the Web UI of the test runner. Use a different value to disable loading any theme, allowing you to provide your own external one.
197197
*/
198-
theme: 'ember',
198+
theme: 'qunit-default',
199199
},
200200
},
201201
},

addon/src/index.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ if (macroCondition(!getOwnConfig()?.disableContainerStyles)) {
1818
importSync('./test-container-styles.css');
1919
}
2020

21-
if (
22-
macroCondition(
23-
getOwnConfig()?.theme === undefined || getOwnConfig()?.theme === 'ember'
24-
)
25-
) {
21+
if (macroCondition(getOwnConfig()?.theme === 'ember')) {
2622
importSync('qunit-theme-ember/qunit.css');
2723
}
2824

0 commit comments

Comments
 (0)