1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/tests/unit/storyshots.test.tsx

15 lines
484 B
TypeScript
Raw Normal View History

2021-05-20 12:32:47 +02:00
// import initStoryshots from '@storybook/addon-storyshots'
// import { render, wait } from '@testing-library/react'
2020-05-07 08:03:30 +02:00
2021-05-20 12:32:47 +02:00
// // Stories are render-tested with @testing-library/react,
// // overwriting default snapshot testing behavior
// initStoryshots({
// asyncJest: true,
// test: async ({ story, done }) => {
// const storyElement = story.render()
// // render the story with @testing-library/react
// render(storyElement)
// await wait(() => done())
// }
// })