summaryrefslogtreecommitdiff
path: root/spec/frontend/mocks
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-202-2/+0
|
* Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher2021-01-203-15/+15
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-1/+0
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-202-8/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-252-21/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-241-15/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-171-0/+8
|
* Add helpers to wait for axios requestsMartin Hanzel2019-09-051-0/+62
| | | | | | | | | Add two methods to the axios_utils Jest mock: - `waitFor(url)`, which returns a Promise that resolves when the next request to `url` finishes. - `waitForAll()`, which returns a Promise that resolves when all pending requests finish.
* Fix test false passes on unmocked requestsmh/jest-fail-unmocked-requestsMartin Hanzel2019-08-303-6/+8
|
* Fix assertion in mocks_helper_spec.jsWinnie Hellmann2019-08-201-1/+3
|
* Mockify jquery and axios packagesMartin Hanzel2019-07-174-0/+235
Moved the block that fails tests on unmocked axios requests from test_setup to its own mock, and added a jQuery mock that fails tests if they use unmocked $.ajax().