From 341c6d1b5abe4829f59fbc32e93f6a6a1afb900f Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Mon, 16 Dec 2019 19:33:49 +0100 Subject: Build: Make Karma work in ES modules mode Also, run such a suite in CI to make sure modules are working as expected when used directly. Closes gh-4550 --- test/karma.debug.html | 67 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 34 deletions(-) (limited to 'test/karma.debug.html') diff --git a/test/karma.debug.html b/test/karma.debug.html index 9fdb4f641..2e1083c41 100644 --- a/test/karma.debug.html +++ b/test/karma.debug.html @@ -2,46 +2,45 @@ %X_UA_COMPATIBLE% - DEBUG - - - - + DEBUG + + + + -
+
- - - -
- + + + +
+ - - - - + + - %SCRIPTS% - + %MAPPINGS% + + %SCRIPTS% + - - + + // Workaround: Remove call to `window.__karma__.loaded()` + // in favour of calling `window.__karma__.start()` from `loadTests()` + // because tests such as unit/ready.js should run after document ready. + if ( !esmodules && !amd ) { + loadTests(); + } + -- cgit v1.2.3