Skip to content

WIP: Make sure SmartInterval is mocked in test

Inactive Account requested to merge winh-mock-smart-interval into master

What does this MR do?

Mock SmartInterval in Karma tests.

Also introduces helper function to check for production / test environment.

Why was this MR needed?

To avoid repeated failing Ajax requests in the background. See

Does this MR meet the acceptance criteria?

  • Review
    • Has been reviewed by Frontend

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/33715

Edited by Inactive Account

Merge request reports