Skip to content

Instantly share code, notes, and snippets.

Looking for open source projects to contribute to

Aaron Reisman lifeiscontent

Looking for open source projects to contribute to
Block or report user

Report or block lifeiscontent

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
lifeiscontent /
Last active Mar 23, 2020
Action Mocking in Jest

Action Mocking in Jest with Storybook.

This describes how to use storybook stories as fixtures in jest, and how to mock action to test behavior in the story.

Link to full example:

View cron.js
console.log('hello world');
You can’t perform that action at this time.