Jeroen Claassens (Favna)
|
53230a10b3
|
Jest: Added Generic for "toMatchObject" function (#35033)
* Add generic to toMatchObject
* Cover feedback from @wsmd
|
2019-04-28 23:17:18 -07:00 |
|
Nathan Shively-Sanders
|
64fc88601e
|
Disable npm-naming with dt-header (#34112)
npm-naming is a new rule but the code it runs was already disabled
whenever dt-header was disabled. This change keeps the behaviour the
same.
|
2019-03-22 09:26:34 -07:00 |
|
Nathan Shively-Sanders
|
87de98a12d
|
Merge pull request #33698 from Gregjarvez/jest-isolateModules
Add isolateModules definition under jest namespace
|
2019-03-08 16:13:17 -08:00 |
|
Gregory Assasie
|
11b2a55bdc
|
Add isolateModule under jest namespace
|
2019-03-07 16:21:55 +00:00 |
|
Stephen Niedzielski
|
f4d771080b
|
Merge: upstream/master into update/jest-each-templatize
|
2019-03-02 12:44:32 -07:00 |
|
Jesse Trinity
|
28cc5e3dd1
|
Merge pull request #33214 from antoinebrault/jest-spyOn-optional
[jest] spyOn optional interface fields
|
2019-02-25 21:16:47 -08:00 |
|
Stephen Niedzielski
|
ab0a40e055
|
Merge: upstream/master into update/jest-each-templatize
|
2019-02-25 18:29:36 -07:00 |
|
Jesse Trinity
|
dda644755a
|
Merge pull request #33354 from Kocal/feat/jest-each-timeout
feat(jest): add `timeout` parameter for `test.each()`.
|
2019-02-25 16:22:06 -08:00 |
|
Noel Martin Llevares
|
64851f4edd
|
Add numTodoTests to AggregatedResult.
|
2019-02-25 11:55:28 +11:00 |
|
Hugo Alliaume
|
b8bbaeb07b
|
feat(jest): add timeout parameter for test.each().
|
2019-02-24 17:19:49 +01:00 |
|
Stephen Niedzielski
|
85c57cba9c
|
Merge: upstream/master into update/jest-each-templatize
|
2019-02-20 17:21:55 -07:00 |
|
Stephen Niedzielski
|
aae346fe6e
|
[jest-each] Update: templatize .each()
- Replace `any` with templates.
- Update Jest website to fix failing test.
fix #33079
|
2019-02-19 19:15:44 -07:00 |
|
antoinebrault
|
b983812c4d
|
cleanup
|
2019-02-19 19:46:29 -05:00 |
|
antoinebrault
|
ae507c32c1
|
Merge branch 'master' into jest-spyOn-optional
|
2019-02-19 19:32:55 -05:00 |
|
Jessica Franco
|
90961b6110
|
Merge pull request #33117 from antoinebrault/jest-fix-test
[jest] fix test
|
2019-02-19 13:59:24 +09:00 |
|
antoinebrault
|
cf30043138
|
[jest] support optional methods/properties from interfaces in spyOn
|
2019-02-18 20:39:22 -05:00 |
|
Jessica Franco
|
8a8fe2ba56
|
Merge pull request #33013 from antoinebrault/jest-mockreturn-type
[jest] add mock result type property
|
2019-02-18 11:55:38 +09:00 |
|
antoinebrault
|
50cd191181
|
[jest] fix test
|
2019-02-16 10:40:10 -05:00 |
|
Mine Starks
|
fe74af5943
|
Merge pull request #32864 from jerico-dev/fix-jest-fn
[jest] fix jest.fn to match spec
|
2019-02-14 13:52:50 -08:00 |
|
Simen Bekkhus
|
2f925e5f8f
|
[jest]: add type reference to jest-diff
|
2019-02-13 14:28:28 +01:00 |
|
antoinebrault
|
17a24edb01
|
[jest] add mock result type
|
2019-02-12 17:06:30 -05:00 |
|
Mine Starks
|
d816f8e980
|
Merge pull request #32891 from SimenB/patch-1
Add `diff` to Jest's matcher utils
|
2019-02-12 12:27:33 -08:00 |
|
Mine Starks
|
adda2daa88
|
Merge pull request #32931 from shireeshaBongarala/retryTimes-jest
Add RetryTimes in Jest.
|
2019-02-12 12:08:54 -08:00 |
|
Antoine Brault
|
8fbb2766af
|
Merge branch 'master' into jest-type-inference
# Conflicts:
# types/jest/index.d.ts
|
2019-02-12 08:28:11 -05:00 |
|
Shireesha Bongarala
|
8e3ae7f8c1
|
Add RetryTimes in Jest.
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32921
|
2019-02-10 17:08:41 +05:30 |
|
Simen Bekkhus
|
a450c83945
|
typeof import
|
2019-02-09 10:50:38 +01:00 |
|
antoinebrault
|
c2f3f6bea6
|
move custom types to jest namespace
|
2019-02-08 22:40:15 -05:00 |
|
antoinebrault
|
d4ac3a53a7
|
move custom types to jest namespace
|
2019-02-08 22:27:03 -05:00 |
|
Florian Grandel
|
a76bd2230a
|
[jest] fix jest.fn to match spec
|
2019-02-08 14:46:16 +01:00 |
|
Simen Bekkhus
|
3cb614106d
|
fix test (maybe)
|
2019-02-08 13:07:41 +01:00 |
|
Simen Bekkhus
|
89e58e423e
|
Add diff to Jest's matcher utils
|
2019-02-08 10:37:27 +01:00 |
|
antoinebrault
|
d4fe8750cc
|
[jest] limit type inference for spyOn getter/setter to non fonction properties & spyOn method to function properties
|
2019-02-07 21:16:58 -05:00 |
|
antoinebrault
|
1f5d6d6cc4
|
fix jest-when
|
2019-02-05 21:47:22 -05:00 |
|
antoinebrault
|
3fbd136e7f
|
[jest] fix type inference for Mocked & mockResolvedValue/mockRejectedValue
|
2019-02-05 21:17:57 -05:00 |
|
Armando Aguirre
|
6d5170a96e
|
Merge pull request #32569 from DrSensor/master
[Jest] add test.todo
|
2019-02-04 17:10:10 -08:00 |
|
antoinebrault
|
1ba138ae20
|
fix test
|
2019-02-03 23:09:34 -05:00 |
|
antoinebrault
|
a0111a96af
|
fn: unknown should be cast to a function
|
2019-02-03 22:46:31 -05:00 |
|
Fahmi Akbar Wildana
|
8c6df47a9e
|
Add minor version
Hope this fix the CI
|
2019-02-04 07:51:51 +07:00 |
|
antoinebrault
|
3b921eff19
|
fn() should return type Mock<any, any>
|
2019-01-28 20:57:22 -05:00 |
|
antoinebrault
|
d60a5cb01d
|
Merge branch 'master' into jest-type-inference
|
2019-01-28 18:26:00 -05:00 |
|
Fahmi Akbar Wildana
|
eb007e473d
|
update test
|
2019-01-29 03:50:22 +07:00 |
|
Fahmi Akbar Wildana
|
3b39ae9139
|
bump version
|
2019-01-29 03:46:13 +07:00 |
|
Fahmi Akbar Wildana
|
72e3326e87
|
add test.todo
Update on Jest 24
https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly#testtodo
|
2019-01-29 03:38:33 +07:00 |
|
Oskar Köök
|
ad00bbe0fa
|
Update documentation of jest.resetAllMocks()
See https://jestjs.io/docs/en/jest-object#jestresetallmocks
|
2019-01-15 20:26:48 +02:00 |
|
Mark Polak
|
1ff633d518
|
Add missing require types (#31911)
|
2019-01-06 11:01:12 -08:00 |
|
antoinebrault
|
68242a43a8
|
merge master
|
2019-01-05 14:40:43 -05:00 |
|
Corey Farwell
|
d77cdfe11e
|
[@types/jest] Update jest.fail return type from void to never. (#31745)
* Update `jest.fail` return type from `void` to `never`.
This should never return, right?
* Revert unrelated change
|
2018-12-31 08:00:33 -08:00 |
|
Antoine Brault
|
fd0775200e
|
use any instead of {} for mock return type
|
2018-12-11 14:21:36 -05:00 |
|
Antoine Brault
|
3236add57d
|
rollback default values
|
2018-12-10 10:28:16 -05:00 |
|
antoinebrault
|
b33741070d
|
add mockImplementation optional arguments example
|
2018-12-07 00:10:10 -05:00 |
|