Skip to content

Commit

Permalink
Merge pull request #4840 from open-formulieren/chore/upgrade-msw
Browse files Browse the repository at this point in the history
Upgrade to MSW 2
  • Loading branch information
sergei-maertens authored Nov 25, 2024
2 parents 08b75a7 + 4cf3252 commit 9e26c24
Show file tree
Hide file tree
Showing 8 changed files with 655 additions and 1,392 deletions.
4 changes: 2 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../src/openforms/scss/screen.scss';
import '../src/openforms/scss/admin/admin_overrides.scss';
import {withModalDecorator, withReactSelectDecorator} from 'components/admin/form_design/story-decorators';
import {initialize, mswDecorator, mswLoader} from 'msw-storybook-addon';
import {initialize, mswLoader} from 'msw-storybook-addon';
import {reactIntl} from './reactIntl.js';
import ReactModal from 'react-modal';

Expand All @@ -15,7 +15,7 @@ initialize({
ReactModal.setAppElement(document.getElementById('storybook-root'));

export default {
decorators: [mswDecorator, withModalDecorator, withReactSelectDecorator],
decorators: [withModalDecorator, withReactSelectDecorator],
parameters: {
controls: {
matchers: {
Expand Down
Loading

0 comments on commit 9e26c24

Please sign in to comment.