Merge pull request #122 from jorilallo/new-collection

Create a collection
This commit is contained in:
Jori Lallo
2017-07-10 00:42:10 -07:00
committed by GitHub
23 changed files with 405 additions and 57 deletions

View File

@@ -0,0 +1,5 @@
export default {
client: {
post: jest.fn(() => Promise.resolve),
},
};

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;