Last active
January 16, 2019 01:02
-
-
Save Lukeghenco/db487580c646d91f4dac0b83531aa8cb to your computer and use it in GitHub Desktop.
Enzyme/React-Testing-Libary Step: 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('does not have a disabled textarea input by default', () => { | |
const { getByLabelText } = render(<TextAreaInput {…defaultProps} />) | |
const textareaInput = getByLabelText(defaultProps.labelText) | |
expect(textareaInput.disabled).toEqual(false) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment