diff --git a/jest.config.js b/jest.config.js index a49f191afa..9bb212a761 100644 --- a/jest.config.js +++ b/jest.config.js @@ -56,6 +56,9 @@ module.exports = { 'test/helpers$': '/' + configPath + '/helpers.js', jetpackConfig: '/jetpack/tools/js-tools/jest/jest-jetpack-config.js', + // Workaround for Jest not having ESM support yet + // Reference: https://t.ly/9ap_ + uuid: require.resolve( 'uuid' ), }, haste: { defaultPlatform: rnPlatform,