Skip to content

Commit a5f1ef4

Browse files
authored
chore: refresh lockfile (#12651)
1 parent 40ac384 commit a5f1ef4

File tree

7 files changed

+560
-591
lines changed

7 files changed

+560
-591
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@
164164
"node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"
165165
},
166166
"resolutions": {
167-
"@testing-library/dom/pretty-format": "26.6.1",
168167
"babel-jest": "workspace:*",
169168
"jest": "workspace:*",
170169
"jest-environment-node": "workspace:*",

packages/jest-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/node": "*",
2121
"ansi-escapes": "^4.2.1",
2222
"chalk": "^4.0.0",
23-
"emittery": "^0.8.1",
23+
"emittery": "^0.10.2",
2424
"exit": "^0.1.2",
2525
"graceful-fs": "^4.2.9",
2626
"jest-changed-files": "^28.0.0-alpha.3",

packages/jest-core/src/TestWatcher.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
import emittery = require('emittery');
8+
import Emittery = require('emittery');
99

1010
type State = {
1111
interrupted: boolean;
1212
};
1313

14-
export default class TestWatcher extends emittery<{change: State}> {
14+
export default class TestWatcher extends Emittery<{change: State}> {
1515
state: State;
1616
private _isWatchMode: boolean;
1717

packages/jest-core/src/__tests__/watch.test.js

+12-4
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ describe('Watch mode flows', () => {
142142
globalConfig,
143143
onComplete: expect.any(Function),
144144
outputStream: pipe,
145-
testWatcher: new TestWatcher({isWatchMode: true}),
145+
testWatcher: JSON.parse(
146+
JSON.stringify(new TestWatcher({isWatchMode: true})),
147+
),
146148
});
147149
});
148150

@@ -156,7 +158,9 @@ describe('Watch mode flows', () => {
156158
globalConfig,
157159
onComplete: expect.any(Function),
158160
outputStream: pipe,
159-
testWatcher: new TestWatcher({isWatchMode: true}),
161+
testWatcher: JSON.parse(
162+
JSON.stringify(new TestWatcher({isWatchMode: true})),
163+
),
160164
});
161165
});
162166

@@ -167,7 +171,9 @@ describe('Watch mode flows', () => {
167171
globalConfig,
168172
onComplete: expect.any(Function),
169173
outputStream: pipe,
170-
testWatcher: new TestWatcher({isWatchMode: true}),
174+
testWatcher: JSON.parse(
175+
JSON.stringify(new TestWatcher({isWatchMode: true})),
176+
),
171177
});
172178
expect(pipe.write.mock.calls.reverse()[0]).toMatchSnapshot();
173179
});
@@ -183,7 +189,9 @@ describe('Watch mode flows', () => {
183189
globalConfig,
184190
onComplete: expect.any(Function),
185191
outputStream: pipe,
186-
testWatcher: new TestWatcher({isWatchMode: true}),
192+
testWatcher: JSON.parse(
193+
JSON.stringify(new TestWatcher({isWatchMode: true})),
194+
),
187195
});
188196
expect(pipe.write.mock.calls.reverse()[0]).toMatchSnapshot();
189197
});

packages/jest-runner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@jest/types": "^28.0.0-alpha.8",
2525
"@types/node": "*",
2626
"chalk": "^4.0.0",
27-
"emittery": "^0.8.1",
27+
"emittery": "^0.10.2",
2828
"graceful-fs": "^4.2.9",
2929
"jest-docblock": "^28.0.0-alpha.6",
3030
"jest-environment-node": "^28.0.0-alpha.8",

packages/pretty-format/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@jest/schemas": "^28.0.0-alpha.3",
2424
"ansi-regex": "^5.0.1",
2525
"ansi-styles": "^5.0.0",
26-
"react-is": "^17.0.1"
26+
"react-is": "^18.0.0"
2727
},
2828
"devDependencies": {
2929
"@types/react": "*",

0 commit comments

Comments
 (0)