diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 00:09:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 00:09:58 +0300 |
commit | 1f992463a93d2db88a661dd2a60a1f0a81375f44 (patch) | |
tree | 396a12aa7f82d2c7e2ebf672fda9993796eae5cf /storybook/config | |
parent | bd746eebdc82ea3731b38cd903a999569ff3b8be (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'storybook/config')
-rw-r--r-- | storybook/config/preview.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storybook/config/preview.js b/storybook/config/preview.js index 6f3b8190742..70bd9873833 100644 --- a/storybook/config/preview.js +++ b/storybook/config/preview.js @@ -3,6 +3,10 @@ import Vue from 'vue'; import { createMockServer } from 'test_helpers/mock_server'; import translateMixin from '~/vue_shared/translate'; +// fixing toJSON error +// https://github.com/storybookjs/storybook/issues/14933 +Vue.prototype.toJSON = () => {}; + const stylesheetsRequireCtx = require.context( '../../app/assets/stylesheets', true, |