diff --git a/packages/metro/src/lib/__tests__/__snapshots__/getTransformCacheKeyFn-test.js.snap b/packages/metro/src/lib/__tests__/__snapshots__/getTransformCacheKeyFn-test.js.snap index 42b62330..c327a220 100644 --- a/packages/metro/src/lib/__tests__/__snapshots__/getTransformCacheKeyFn-test.js.snap +++ b/packages/metro/src/lib/__tests__/__snapshots__/getTransformCacheKeyFn-test.js.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`getTransformCacheKeyFn Should return always the same key for the same params 1`] = `"b9d6b34bd3125bb8f451f229d85c1022861a9b29"`; +exports[`getTransformCacheKeyFn Should return always the same key for the same params 1`] = `"2e1d8fca3846b7b47bd8fb910cc601aa5ebac115"`; diff --git a/packages/metro/src/lib/__tests__/getTransformCacheKeyFn-test.js b/packages/metro/src/lib/__tests__/getTransformCacheKeyFn-test.js index d4e1100b..c408de28 100644 --- a/packages/metro/src/lib/__tests__/getTransformCacheKeyFn-test.js +++ b/packages/metro/src/lib/__tests__/getTransformCacheKeyFn-test.js @@ -13,6 +13,10 @@ 'use strict'; +jest.mock('../../../package.json', () => ({ + version: '1.0.0', +})); + const getTransformCacheKeyFn = require('../getTransformCacheKeyFn'); const path = require('path');