-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Conversation
components/panel/test/body.js
Outdated
expect( panelBody.instance().state.opened ).to.be.true(); | ||
} ); | ||
|
||
it( 'with intialOpen set to false', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: intialOpen
→ initialOpen
components/panel/test/body.js
Outdated
expect( panelBody.instance().state.opened ).to.be.false(); | ||
} ); | ||
|
||
it( 'with intialOpen set to false', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: intialOpen
→ initialOpen
There was a problem hiding this comment.
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.
d73ae72
to
33b00fc
Compare
33b00fc
to
ed5c94a
Compare
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.