Skip to content

Instantly share code, notes, and snippets.

@tb
Created March 3, 2017 11:50
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 tb/0ff3811b7e78ca7817b875245010e6d3 to your computer and use it in GitHub Desktop.
Save tb/0ff3811b7e78ca7817b875245010e6d3 to your computer and use it in GitHub Desktop.
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`MainSection Component render 1`] = `
<section
className="main"
>
<input
checked={false}
className="toggle-all"
onChange={[Function]}
type="checkbox"
/>
<ul
className="todo-list"
>
<TodoItem
clearCompleted={[Function]}
completeAll={[Function]}
completeTodo={[Function]}
deleteTodo={[Function]}
editTodo={[Function]}
todo={
Object {
"completed": false,
"id": 0,
"text": "Use Redux",
}
}
/>
<TodoItem
clearCompleted={[Function]}
completeAll={[Function]}
completeTodo={[Function]}
deleteTodo={[Function]}
editTodo={[Function]}
todo={
Object {
"completed": true,
"id": 1,
"text": "Run the tests",
}
}
/>
</ul>
<Footer
activeCount={1}
completedCount={1}
filter="show_all"
onClearCompleted={[Function]}
onShow={[Function]}
/>
</section>
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment