diff --git a/packages/roleypoly-design/src/__test__/__snapshots__/storyshots.test.ts.snap b/packages/roleypoly-design/src/__test__/__snapshots__/storyshots.test.ts.snap index c52a7ab..8b5d313 100644 --- a/packages/roleypoly-design/src/__test__/__snapshots__/storyshots.test.ts.snap +++ b/packages/roleypoly-design/src/__test__/__snapshots__/storyshots.test.ts.snap @@ -1,51 +1,291 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Button Default 1`] = ` - + `; exports[`Storyshots Button Disabled 1`] = ` - + `; exports[`Storyshots Button Loading 1`] = ` - + `; exports[`Storyshots Button Primary 1`] = ` - + `; exports[`Storyshots Button Secondary 1`] = ` - + `; diff --git a/packages/roleypoly-design/src/__test__/storyshots.test.ts b/packages/roleypoly-design/src/__test__/storyshots.test.ts index c56bd56..db65899 100644 --- a/packages/roleypoly-design/src/__test__/storyshots.test.ts +++ b/packages/roleypoly-design/src/__test__/storyshots.test.ts @@ -1,9 +1,12 @@ +/* jest-env jsdom */ import * as path from 'path' import initStoryshots from '@storybook/addon-storyshots' +import { shallow } from 'enzyme' // import Adapter from 'enzyme-adapter-react-16' -// enzyme.configure({ adapter: new Adapter() }) +// configure({ adapter: new Adapter() }) initStoryshots({ + renderer: shallow, configPath: path.resolve(__dirname, '../../.storybook') -}) \ No newline at end of file +})