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:
Diffstat (limited to 'spec/frontend/__mocks__/lodash/throttle.js')
-rw-r--r--spec/frontend/__mocks__/lodash/throttle.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/__mocks__/lodash/throttle.js b/spec/frontend/__mocks__/lodash/throttle.js
new file mode 100644
index 00000000000..aef391afd0c
--- /dev/null
+++ b/spec/frontend/__mocks__/lodash/throttle.js
@@ -0,0 +1,4 @@
+// Similar to `lodash/debounce`, `lodash/throttle` also causes flaky specs.
+// See `./debounce.js` for more details.
+
+export default fn => fn;