mirror of https://github.com/status-im/metro.git
Make the getTransformCacheKeyFn-test not dependant on the metro version
Reviewed By: davidaurelio Differential Revision: D6976235 fbshipit-source-id: 8ba5a0413c3c96224a91d6972beda5a413557646
This commit is contained in:
parent
5b383fce16
commit
29115f729c
|
@ -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"`;
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
jest.mock('../../../package.json', () => ({
|
||||
version: '1.0.0',
|
||||
}));
|
||||
|
||||
const getTransformCacheKeyFn = require('../getTransformCacheKeyFn');
|
||||
const path = require('path');
|
||||
|
||||
|
|
Loading…
Reference in New Issue