mirror of
https://github.com/zhigang1992/Recoil.git
synced 2026-01-13 09:30:39 +08:00
Summary: `gkx` module was added to the codebase and it doesn't exist outside www. adding all necessary mocks to fix the build Pull Request resolved: https://github.com/facebookexperimental/Recoil/pull/332 Reviewed By: drarmstr Differential Revision: D22062299 Pulled By: aaronabramov fbshipit-source-id: e61dbca322321e4a79d01b3c6d5ae954053c2bfb
6 lines
91 B
JavaScript
6 lines
91 B
JavaScript
const Promise = require('promise-polyfill');
|
|
|
|
jest.mock('gkx');
|
|
|
|
global.Promise = Promise;
|