From 79ba207b595dc43d8740ba26c2a208b7ec1ca232 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 31 Jul 2020 16:59:34 -0500 Subject: [PATCH] fix(test): update module ext order Closes #2608 --- scripts/bundles/helpers/jest/jest-preset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bundles/helpers/jest/jest-preset.js b/scripts/bundles/helpers/jest/jest-preset.js index c1afe276efe..2d958e6026d 100644 --- a/scripts/bundles/helpers/jest/jest-preset.js +++ b/scripts/bundles/helpers/jest/jest-preset.js @@ -4,7 +4,7 @@ const rootDir = path.join(testingDir, '..'); const internalDir = path.join(rootDir, 'internal'); // NOTE: if you change this, also change compiler/transpile.ts -const moduleExtensions = ['ts', 'tsx', 'mjs', 'js', 'jsx']; +const moduleExtensions = ['ts', 'tsx', 'js', 'mjs', 'jsx']; const moduleExtensionRegexp = '(' + moduleExtensions.join('|') + ')'; module.exports = {