Commit graph

16 commits

Author SHA1 Message Date
Winnie Hellmann
9012d309f1 Increase Jest timeout to 500ms 2019-05-17 10:08:20 +00:00
Winnie Hellmann
1eb3eca313 Fix loadJSONFixtures wrapper in Jest 2019-05-15 15:31:52 +02:00
Fatih Acet
9269ac1b69 Merge branch 'winh-rejected-jest-promises' into 'master'
Fail Jest tests for unhandled Promise rejections

Closes #56053

See merge request gitlab-org/gitlab-ce!26424
2019-04-01 20:55:17 +00:00
Winnie Hellmann
e3465a5dde Add jQuery matchers to Jest 2019-04-01 18:55:57 +00:00
Clement Ho
b4cc639f80 Merge branch 'winh-jest-html-fixtures' into 'master'
Add helpers for HTML fixtures to Jest

Closes #57998

See merge request gitlab-org/gitlab-ce!26739
2019-03-29 16:59:16 +00:00
Winnie Hellmann
0e9c092d00 Fail correct test for Promise 2019-03-29 11:53:17 +01:00
Winnie Hellmann
0b68b17c3b Fail for unhandled Promise rejections in Jest 2019-03-29 11:53:17 +01:00
Winnie Hellmann
b0e26ed5ce Add Karma-style fixture helpers to Jest 2019-03-29 07:33:30 +01:00
Winnie Hellmann
346f7027e2 Add workaround for innerText in Jest 2019-03-29 07:33:30 +01:00
Winnie Hellmann
9d4061efdf Disable Vue tips when running Jest 2019-03-28 14:17:52 +01:00
Winnie Hellmann
d1251b42a0 Wait for pending timers in Jest 2019-03-21 18:05:21 +01:00
Winnie Hellmann
f066683071
Add setTestTimeout for Jest tests
Allows contributors to set the timeout
for individual jest tests.
2019-03-08 16:21:10 +00:00
Winnie Hellmann
8d74aab428 Load i18n Vue plugin for Jest tests 2019-02-21 11:02:31 +01:00
Winnie Hellmann
13bb3483d8 Fail tests for unmocked axios requests 2019-02-21 09:39:59 +01:00
Winnie Hellmann
6356862630 Set timeout for Jest to 300ms 2018-12-11 13:06:19 +01:00
Winnie Hellmann
fac4d54f3d Fail long running tests 2018-12-11 13:06:19 +01:00