Skip to content

Commit

Permalink
[RNMobile] Fix Jest module name mapper for WP packages that use Types…
Browse files Browse the repository at this point in the history
…cript (WordPress#38856)
  • Loading branch information
fluiddot authored Feb 16, 2022
1 parent efc835c commit 48b3af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/native/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ( process.env.TEST_RN_PLATFORM ) {

const configPath = 'test/native';

const transpiledPackageNames = glob( '../../packages/*/src/index.js' ).map(
const transpiledPackageNames = glob( '../../packages/*/src/index.{js,ts}' ).map(
( fileName ) => fileName.split( '/' )[ 3 ]
);

Expand Down

0 comments on commit 48b3af5

Please sign in to comment.