File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed
packages/jest-fake-timers Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 14
14
- ` [jest-core] ` Run failed tests interactively the same way we do with snapshots ([ #10858 ] ( https://github.com/facebook/jest/pull/10858 ) )
15
15
- ` [jest-core] ` more ` TestSequencer ` methods can be async ([ #10980 ] ( https://github.com/facebook/jest/pull/10980 ) )
16
16
- ` [jest-environment-node] ` Add AbortController to globals ([ #11182 ] ( https://github.com/facebook/jest/pull/11182 ) )
17
+ - ` [@jest/fake-timers] ` Update to ` @sinonjs/fake-timers ` to v7 ([ #11198 ] ( https://github.com/facebook/jest/pull/11198 ) )
17
18
- ` [jest-haste-map] ` Handle injected scm clocks ([ #10966 ] ( https://github.com/facebook/jest/pull/10966 ) )
18
19
- ` [jest-repl, jest-runner] ` [ ** BREAKING** ] Run transforms over environment ([ #8751 ] ( https://github.com/facebook/jest/pull/8751 ) )
19
20
- ` [jest-runner] ` [ ** BREAKING** ] set exit code to 1 if test logs after teardown ([ #10728 ] ( https://github.com/facebook/jest/pull/10728 ) )
Original file line number Diff line number Diff line change 15
15
},
16
16
"dependencies" : {
17
17
"@jest/types" : " ^27.0.0-next.3" ,
18
- "@sinonjs/fake-timers" : " ^6 .0.1 " ,
18
+ "@sinonjs/fake-timers" : " ^7 .0.2 " ,
19
19
"@types/node" : " *" ,
20
20
"jest-message-util" : " ^27.0.0-next.3" ,
21
21
"jest-mock" : " ^27.0.0-next.3" ,
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ export default class FakeTimers {
102
102
this . _clock = this . _fakeTimers . install ( {
103
103
loopLimit : this . _maxLoops ,
104
104
now : Date . now ( ) ,
105
- target : this . _global ,
106
105
toFake,
107
106
} ) ;
108
107
Original file line number Diff line number Diff line change 2
2
"extends" : " ../../tsconfig.json" ,
3
3
"compilerOptions" : {
4
4
"rootDir" : " src" ,
5
- "outDir" : " build"
5
+ "outDir" : " build" ,
6
+ // TODO: remove when shipped types are better
7
+ "paths" : {
8
+ "@sinonjs/fake-timers" : [" ../../node_modules/@types/sinonjs__fake-timers" ]
9
+ }
6
10
},
7
11
"references" : [
8
12
{"path" : " ../jest-message-util" },
Original file line number Diff line number Diff line change @@ -2500,7 +2500,7 @@ __metadata:
2500
2500
resolution: "@jest/fake-timers@workspace:packages/jest-fake-timers"
2501
2501
dependencies:
2502
2502
"@jest/types": ^27.0.0-next.3
2503
- "@sinonjs/fake-timers": ^6 .0.1
2503
+ "@sinonjs/fake-timers": ^7 .0.2
2504
2504
"@types/node": "*"
2505
2505
"@types/sinonjs__fake-timers": ^6.0.1
2506
2506
jest-message-util: ^27.0.0-next.3
@@ -4127,12 +4127,12 @@ __metadata:
4127
4127
languageName: node
4128
4128
linkType: hard
4129
4129
4130
- "@sinonjs/fake-timers@npm:^6 .0.1 ":
4131
- version: 6 .0.1
4132
- resolution: "@sinonjs/fake-timers@npm:6 .0.1 "
4130
+ "@sinonjs/fake-timers@npm:^7 .0.2 ":
4131
+ version: 7 .0.2
4132
+ resolution: "@sinonjs/fake-timers@npm:7 .0.2 "
4133
4133
dependencies:
4134
4134
"@sinonjs/commons": ^1.7.0
4135
- checksum: 64458b908773638dda08b555a00e6fbbbc679735348291dc1b7f437ada2f60242537fdc48e4ee82d2573d86984ec87e755b66a96c0ed9ebf0f46b4c6687ccde2
4135
+ checksum: b976616900e9ce005f1790b3227697aba909d546b0aed42c75e38f82780ed81d70031ffd9406363ccde3da7f169f2e8a205ef712113d727f896b6cf91aff5e14
4136
4136
languageName: node
4137
4137
linkType: hard
4138
4138
You can’t perform that action at this time.
0 commit comments