From 6be732011f9741e13dd248c64eea33c9dd76aca7 Mon Sep 17 00:00:00 2001 From: sarayourfriend Date: Mon, 15 Mar 2021 10:08:05 -0700 Subject: [PATCH] Testing: Allow TypeScript modules for transpiled packages (#29873) --- test/unit/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/jest.config.js b/test/unit/jest.config.js index 70ae8191dc0d8d..346c2f288efd44 100644 --- a/test/unit/jest.config.js +++ b/test/unit/jest.config.js @@ -4,7 +4,7 @@ const glob = require( 'glob' ).sync; // Finds all packages which are transpiled with Babel to force Jest to use their source code. -const transpiledPackageNames = glob( 'packages/*/src/index.js' ).map( +const transpiledPackageNames = glob( 'packages/*/src/index.{js,ts,tsx}' ).map( ( fileName ) => fileName.split( '/' )[ 1 ] );