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",
|
||||
"denodeify",
|
||||
"fbjs",
|
||||
"sinon"
|
||||
"sinon",
|
||||
"core-js"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,3 +9,4 @@
|
|||
'use strict';
|
||||
|
||||
global.Promise = require('promise');
|
||||
require('../packages/metro-bundler/build/setupNodePolyfills');
|
||||
|
|
Loading…
Reference in New Issue