Skip to content

Instantly share code, notes, and snippets.

@rodrigopr
Last active August 10, 2016 02:16
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 rodrigopr/42e8b832987ee9b8a09b05fa74b0cc18 to your computer and use it in GitHub Desktop.
Save rodrigopr/42e8b832987ee9b8a09b05fa74b0cc18 to your computer and use it in GitHub Desktop.
snapshot testing with enzyme (hack)
import React from 'react';
export default class LinkTitle extends React.Component {
render() {
return (
<btn>{this.props.text}</btn>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment