Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Commit

Permalink
Mock cookieJar.js manually
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolph-miller committed Dec 25, 2015
1 parent 1be19fb commit 7bd768d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions __mocks__/cookieJar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
var cookieJarMock = jest.genMockFromModule('../cookieJar.js');
cookieJarMock.mockImplementation(() => {
return {
cookies: {},
get: () => { return {}; },
parseHeaders: () => { return {}; }
};
});

module.exports = cookieJarMock;

0 comments on commit 7bd768d

Please sign in to comment.