diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-18 06:11:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-18 06:11:15 +0300 |
commit | 20e1a45b541eb58dad95c7a34f56e1c442ebde9f (patch) | |
tree | 29dacfd6ed8c15393b848c7daa7c886acce52005 /spec/frontend/lib | |
parent | 2a37314a62b83203513ae65c36379bae9db59916 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/lib')
-rw-r--r-- | spec/frontend/lib/utils/poll_spec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/lib/utils/poll_spec.js b/spec/frontend/lib/utils/poll_spec.js index 1f150599983..94a5f5385b7 100644 --- a/spec/frontend/lib/utils/poll_spec.js +++ b/spec/frontend/lib/utils/poll_spec.js @@ -128,9 +128,11 @@ describe('Poll', () => { errorCallback: callbacks.error, }); + expect(Polling.timeoutID).toBeNull(); + Polling.makeDelayedRequest(1); - expect(Polling.timeoutID).toBeTruthy(); + expect(Polling.timeoutID).not.toBeNull(); return waitForAllCallsToFinish(2, () => { Polling.stop(); |