mirror of https://github.com/status-im/metro.git
make jest include polyfills so that it works on node 6
This commit is contained in:
parent
921005d44d
commit
8af0267fdf
|
@ -57,7 +57,8 @@
|
||||||
"source-map",
|
"source-map",
|
||||||
"denodeify",
|
"denodeify",
|
||||||
"fbjs",
|
"fbjs",
|
||||||
"sinon"
|
"sinon",
|
||||||
|
"core-js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,3 +9,4 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
global.Promise = require('promise');
|
global.Promise = require('promise');
|
||||||
|
require('../packages/metro-bundler/build/setupNodePolyfills');
|
||||||
|
|
Loading…
Reference in New Issue