diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-22 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-22 06:08:49 +0300 |
commit | dc3735fabb211b07347e58a667b1fa9a15aa7b68 (patch) | |
tree | e7ff9a38e241f6239ca7505e3bf2de6f6ca0ac62 /spec/frontend/__helpers__/dom_shims/clipboard.js | |
parent | e5bf29c7cd724726c37795d84c52167b59b99eb1 (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.js | 5 |
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: () => {}, + }, +}); |