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-31 18:11:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-31 18:11:37 +0300
commita5519693560d1ac4e120e1afd7d806d13a2d09fd (patch)
tree7aadd6e5ddf3b5f19bc444714f63db8dd1001633 /spec/frontend/__helpers__
parent004274926a034decf20948c34e290267dffbdfde (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/__helpers__')
-rw-r--r--spec/frontend/__helpers__/raw_transformer.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/__helpers__/raw_transformer.js b/spec/frontend/__helpers__/raw_transformer.js
new file mode 100644
index 00000000000..09101b7a64f
--- /dev/null
+++ b/spec/frontend/__helpers__/raw_transformer.js
@@ -0,0 +1,6 @@
+/* eslint-disable import/no-commonjs */
+module.exports = {
+ process: (content) => {
+ return `module.exports = ${JSON.stringify(content)}`;
+ },
+};