This commit is contained in:
Tom Moor
2017-07-10 00:38:51 -07:00
parent 6e152d7c34
commit 205590ca6a
5 changed files with 28 additions and 31 deletions

View File

@ -9,5 +9,6 @@ const snap = children => {
expect(toJson(wrapper)).toMatchSnapshot();
};
global.fetch = require('jest-fetch-mock');
global.localStorage = localStorage;
global.snap = snap;