From d8c7146c3e535587d26f899c773eca0a9ca3a7eb Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Thu, 13 May 2021 00:26:15 -0300 Subject: [PATCH] fix: ensure compatibility running test-loader last --- nativescript.webpack.js | 1 + 1 file changed, 1 insertion(+) diff --git a/nativescript.webpack.js b/nativescript.webpack.js index 4e910f6..d64ba77 100644 --- a/nativescript.webpack.js +++ b/nativescript.webpack.js @@ -62,6 +62,7 @@ function setupKarmaBuild(config, env, webpack) { config.module .rule('unit-test') + .enforce('post') .include.add(webpack.Utils.platform.getEntryDirPath()).end() .test(/\.(ts|js)/) .use('unit-test-loader')