Skip to content

Commit

Permalink
chore(AppTitle): Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GoOz committed Jun 4, 2019
1 parent 3a44b92 commit 5cd29f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions react/__snapshots__/examples.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ exports[`ActionMenu should render examples: ActionMenu 2`] = `
</div>"
`;

exports[`AppTitle should render examples: AppTitle 1`] = `
"<div>
<h1 class=\\"styles__u-title-h1___fimho styles__c-apptitle___eqV9l\\">Drive</h1>
</div>"
`;
exports[`Avatar should render examples: Avatar 1`] = `
"<div>
<div class=\\"styles__c-avatar___PpDI-\\"><svg class=\\"styles__icon___23x3R\\" width=\\"16\\" height=\\"16\\">
Expand Down
1 change: 1 addition & 0 deletions react/examples.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ testComponent('MuiCozyTheme/Buttons')
testComponent('MuiCozyTheme/Menus')
testComponent('MuiCozyTheme/ExpansionPanel')
testComponent('ActionMenu')
testComponent('AppTitle')
testComponent('Avatar')
testComponent('Badge')
testComponent('BarButton')
Expand Down
3 changes: 3 additions & 0 deletions react/testFromStyleguidist.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import pretty from 'pretty'
*/
import ActionMenu from './ActionMenu'
import Alerter from './Alerter'
import AppTitle from './AppTitle'
import Avatar from './Avatar'
import Badge from './Badge'
import BarButton from './BarButton'
Expand Down Expand Up @@ -69,6 +70,7 @@ const testFromStyleguidist = (name, markdown, require) => {
'content',
'ActionMenu',
'Alerter',
'AppTitle',
'Avatar',
'Badge',
'BarButton',
Expand Down Expand Up @@ -117,6 +119,7 @@ const testFromStyleguidist = (name, markdown, require) => {
content,
ActionMenu,
Alerter,
AppTitle,
Avatar,
Badge,
BarButton,
Expand Down

0 comments on commit 5cd29f8

Please sign in to comment.