Skip to content

Commit

Permalink
test(typography): add responsive snapshot tests (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraider authored May 17, 2019
1 parent cfef4f7 commit 0beb8dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/stories/typography.stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import React from 'react';
import { storiesOf } from '@storybook/react';
import settings from '../src/global/js/settings';

const viewports = Object.values(settings.breakpointsInPixels).filter(Boolean);

storiesOf('Typography', module)
.addParameters({
chromatic: { viewports }
})
.add('all', () =>
[
'ray-text--display-1',
Expand Down

0 comments on commit 0beb8dc

Please sign in to comment.