Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic tests for Panel Component. #933

Merged
merged 2 commits into from
May 30, 2017
Merged

Conversation

BE-Webdesign
Copy link
Contributor

Adds basic Panel component tests. Related to progress on #641. Covers
the Panel, PanelHeader, and PanelBody components.

Testing Instructions
Run npm i && npm run test-unit ensure tests pass. Change component 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 30, 2017
expect( panelBody.instance().state.opened ).to.be.true();
} );

it( 'with intialOpen set to false', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: intialOpeninitialOpen

expect( panelBody.instance().state.opened ).to.be.false();
} );

it( 'with intialOpen set to false', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: intialOpeninitialOpen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good 👀, I will cycle back to these.

Adds basic Panel component tests. Related to progress on #641.  Covers
the Panel, PanelHeader, and PanelBody components.

Testing Instructions
Run npm i && npm run test-unit ensure tests pass. Change component logic
to ensure tests fail as they should.
@BE-Webdesign BE-Webdesign force-pushed the add/test/components/panel branch from d73ae72 to 33b00fc Compare May 30, 2017 16:04
@BE-Webdesign BE-Webdesign force-pushed the add/test/components/panel branch from 33b00fc to ed5c94a Compare May 30, 2017 16:25
@BE-Webdesign BE-Webdesign merged commit 9997652 into master May 30, 2017
@BE-Webdesign BE-Webdesign deleted the add/test/components/panel branch June 1, 2017 21:54
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