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-04-22 06:08:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-22 06:08:49 +0300
commitdc3735fabb211b07347e58a667b1fa9a15aa7b68 (patch)
treee7ff9a38e241f6239ca7505e3bf2de6f6ca0ac62 /spec/frontend/__helpers__/dom_shims/clipboard.js
parente5bf29c7cd724726c37795d84c52167b59b99eb1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/__helpers__/dom_shims/clipboard.js')
-rw-r--r--spec/frontend/__helpers__/dom_shims/clipboard.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend/__helpers__/dom_shims/clipboard.js b/spec/frontend/__helpers__/dom_shims/clipboard.js
new file mode 100644
index 00000000000..3bc1b059272
--- /dev/null
+++ b/spec/frontend/__helpers__/dom_shims/clipboard.js
@@ -0,0 +1,5 @@
+Object.defineProperty(navigator, 'clipboard', {
+ value: {
+ writeText: () => {},
+ },
+});