summaryrefslogtreecommitdiff
path: root/spec/frontend/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Move Vuex action helper spec to JestMark Florian2019-06-252-5/+168
| | | | | | | | | | | 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.
* Increase Jest timeout on CI to 5 secondsWinnie Hellmann2019-06-061-2/+14
|
* Migrate old notes app test from Karma to JestMartin Hanzel2019-06-052-2/+42
|
* Merge branch 'fe-jestify-specs-starting-with-a-1' into 'master'Mike Greiling2019-06-041-0/+41
|\ | | | | | | | | Jestify some specs that start with "A" See merge request gitlab-org/gitlab-ce!28727
| * Jestify autosave spec and add localStorage helperfe-jestify-specs-starting-with-a-1Paul Slaughter2019-06-041-0/+41
| | | | | | | | | | | | 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.
* | Comply with `no-implicit-coercion` rule (CE)Nathan Friend2019-06-031-1/+3
| | | | | | | | | | | | | | | | 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
* | Move NoteApp tests to JestWinnie Hellmann2019-06-031-0/+6
|/
* Merge branch 'fe-rename-vue-component-helper-ce' into 'master'Mike Greiling2019-05-201-0/+0
|\ | | | | | | | | [CE Port] Rename vue_component_helper to text_helper See merge request gitlab-org/gitlab-ce!28358
| * Rename vue_component_helper to text_helperfe-rename-vue-component-helper-cePaul Slaughter2019-05-161-0/+0
| | | | | | | | | | | | **Why?** This file only contains a few text based helper functions. It has nothing to do with Vue or Vue components.
* | Use process timer for jest timeout testingfe-use-process-timer-in-jest-timeoutPaul Slaughter2019-05-081-10/+17
|/
* Load EE fixtures from ee/ directory in Jestwinh-separate-frontend-fixturesWinnie Hellmann2019-05-021-3/+1
| | | | (cherry picked from commit 2917a28a885922a03f2026ddbb2680bc2b6e5d50)
* Restore multiple series supportAdriel Santiago2019-04-051-0/+45
| | | | | Corrects an issue whereby queries which return multiple series results were not rendering as multiple data series on the metrics dashboard
* Merge branch 'winh-jest-html-fixtures' into 'master'Clement Ho2019-03-291-6/+20
|\ | | | | | | | | | | | | Add helpers for HTML fixtures to Jest Closes #57998 See merge request gitlab-org/gitlab-ce!26739
| * Add helpers for HTML fixtures to JestWinnie Hellmann2019-03-291-6/+20
| |
* | Copy missing helpers from Karma to JestWinnie Hellmann2019-03-2811-0/+235
|/ | | | Copy missing helpers from Karma to Jest
* Add jest-environment-jsdom and jest-util dependenciesWinnie Hellmann2019-03-261-2/+0
|
* Copy vue_mount_component_helper.js to JestWinnie Hellmann2019-03-231-0/+38
|
* Add getJSONFixture() helper to JestWinnie Hellmann2019-03-111-0/+24
|
* Add setTestTimeout for Jest testsWinnie Hellmann2019-03-081-0/+24
| | | | | Allows contributors to set the timeout for individual jest tests.
* Move emoji_menu_spec.js to JestWinnie Hellmann2018-12-111-0/+2