Skip to content

Instantly share code, notes, and snippets.

@mthuret
Created July 25, 2016 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mthuret/cf237cde9c801bc6857d68d9a38f5612 to your computer and use it in GitHub Desktop.
Save mthuret/cf237cde9c801bc6857d68d9a38f5612 to your computer and use it in GitHub Desktop.
export const storiesOf = function storiesOf() {
var api = {};
api.add = ()=> { return api; };
api.addWithInfo = ()=> { return api; };
return api;
};
export const action = () => {return expect.createSpy()};
export const linkTo = () => {return expect.createSpy()};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment