Skip to content

Add basic tests for Panel Component.#933

Merged
BE-Webdesign merged 2 commits intomasterfrom
add/test/components/panel
May 30, 2017
Merged

Add basic tests for Panel Component.#933
BE-Webdesign merged 2 commits intomasterfrom
add/test/components/panel

Conversation

@BE-Webdesign
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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