Skip to content

Instantly share code, notes, and snippets.

@dmitrysurkin
Created August 14, 2020 08:39
Show Gist options
  • Save dmitrysurkin/ac56eeacbc9125571d8dfa3eb79ed988 to your computer and use it in GitHub Desktop.
Save dmitrysurkin/ac56eeacbc9125571d8dfa3eb79ed988 to your computer and use it in GitHub Desktop.
Before
Test.before(t => {
t.context.props = {
classes: Object.assign(...Object.keys(styles).map(className => ({[className]: `${className}`}))),
allowedToAction: true,
clearFilters: () => {},
toggleFilters: () => {},
remove: () => {}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment