Skip to content

Instantly share code, notes, and snippets.

@ollelauribostrom
Created June 6, 2018 08:12
Show Gist options
  • Save ollelauribostrom/8cf4cf7f400c5686e783db4ab04b489e to your computer and use it in GitHub Desktop.
Save ollelauribostrom/8cf4cf7f400c5686e783db4ab04b489e to your computer and use it in GitHub Desktop.
● Tests for Box component › should render
expect(received).toEqual(expected)
Expected value to equal:
true
Received:
false
● Tests for Box component › should apply custom class name if provided
expect(received).toEqual(expected)
Expected value to equal:
true
Received:
false
● Tests for Box component › should apply label if provided
expect(received).toEqual(expected)
Expected value to equal:
"Red"
Received:
""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment