summaryrefslogtreecommitdiff
path: root/spec/frontend/__mocks__/@gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/__mocks__/@gitlab')
-rw-r--r--spec/frontend/__mocks__/@gitlab/ui.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/__mocks__/@gitlab/ui.js b/spec/frontend/__mocks__/@gitlab/ui.js
index 4c491a87fcb..6b3f1f01e6a 100644
--- a/spec/frontend/__mocks__/@gitlab/ui.js
+++ b/spec/frontend/__mocks__/@gitlab/ui.js
@@ -14,7 +14,9 @@ export * from '@gitlab/ui';
*/
jest.mock('@gitlab/ui/dist/directives/tooltip.js', () => ({
- bind() {},
+ GlTooltipDirective: {
+ bind() {},
+ },
}));
jest.mock('@gitlab/ui/dist/components/base/tooltip/tooltip.js', () => ({