aboutsummaryrefslogtreecommitdiffstats
path: root/test/karma.context.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/karma.context.html')
-rw-r--r--test/karma.context.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/karma.context.html b/test/karma.context.html
index 222e2ff19..a8977b765 100644
--- a/test/karma.context.html
+++ b/test/karma.context.html
@@ -30,13 +30,12 @@
<script>
// QUnit.config is populated from QUnit.urlParams but only at the beginning
// of the test run. We need to read both.
- var esmodules = QUnit.config.esmodules || QUnit.urlParams.esmodules,
- amd = QUnit.config.amd || QUnit.urlParams.amd;
+ var esmodules = QUnit.config.esmodules || QUnit.urlParams.esmodules;
// Workaround: Remove call to `window.__karma__.loaded()`
// in favor of calling `window.__karma__.start()` from `loadTests()`
// because tests such as unit/ready.js should run after document ready.
- if ( !esmodules && !amd ) {
+ if ( !esmodules ) {
loadTests();
}
</script>