Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-28 00:09:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-28 00:09:58 +0300
commit1f992463a93d2db88a661dd2a60a1f0a81375f44 (patch)
tree396a12aa7f82d2c7e2ebf672fda9993796eae5cf /storybook/config
parentbd746eebdc82ea3731b38cd903a999569ff3b8be (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'storybook/config')
-rw-r--r--storybook/config/preview.js4
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,