| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This is largely a straight-forward copy of the Karma spec, with the
usual Karma->Jest necessary changes.
This also fixes a bug in the implementation that was causing the tests
to fail, when run on Jest/node, whereby actions that return rejected
promises would always fail the given test. This was due to those
rejections not being caught in the same call stack in which they were
created.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Jestify some specs that start with "A"
See merge request gitlab-org/gitlab-ce!28727
|
| |
| |
| |
| |
| |
| | |
The helper was needed because `jest.spyOn` would not
work on this special window object property. The only way
we could successfully spy on `localStorage` was with this helper.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit is the result of running `yarn eslint --fix` after enabling
the `no-implicit-coercion` ESLint rule. This rule has been added to
our ESLint config here:
https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
|
|/ |
|
|\
| |
| |
| |
| | |
[CE Port] Rename vue_component_helper to text_helper
See merge request gitlab-org/gitlab-ce!28358
|
| |
| |
| |
| |
| |
| | |
**Why?**
This file only contains a few text based helper functions.
It has nothing to do with Vue or Vue components.
|
|/ |
|
|
|
|
| |
(cherry picked from commit 2917a28a885922a03f2026ddbb2680bc2b6e5d50)
|
|
|
|
|
| |
Corrects an issue whereby queries which return multiple series results
were not rendering as multiple data series on the metrics dashboard
|
|\
| |
| |
| |
| |
| |
| | |
Add helpers for HTML fixtures to Jest
Closes #57998
See merge request gitlab-org/gitlab-ce!26739
|
| | |
|
|/
|
|
| |
Copy missing helpers from Karma to Jest
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Allows contributors to set the timeout
for individual jest tests.
|
|
|