Skip to content

Add basic FormToggle tetsts.#930

Merged
BE-Webdesign merged 1 commit intomasterfrom
add/test/form-toggle
May 29, 2017
Merged

Add basic FormToggle tetsts.#930
BE-Webdesign merged 1 commit intomasterfrom
add/test/form-toggle

Conversation

@BE-Webdesign
Copy link
Copy Markdown
Contributor

@BE-Webdesign BE-Webdesign commented May 29, 2017

Adds basic FormToggle component tests. Covers cases where the elements are conditionally rendered. Related to progress on #641.

Testing Instructions
Run npm i && npm run test-unit ensure tests pass. Change Dashicon logic
to ensure tests fail as they should.

Adds basic FormToggle component tests. Covers cases where the tag name
or other properties are conditionally rendered. Related to progress on
#641.

This introduces Enzyme and the react-test-renderer library as dev
dependencies.

**Testing Instructions**
Run npm i && npm run test-unit ensure tests pass. Change Dashicon logic
to ensure tests fail as they should.
@BE-Webdesign BE-Webdesign added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label May 29, 2017
@BE-Webdesign BE-Webdesign merged commit 2fb5247 into master May 29, 2017
@youknowriad youknowriad deleted the add/test/form-toggle branch May 30, 2017 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants