Skip to content

Commit 5f26f09

Browse files
fix: fixed incorrect assertion in jest-worker unit tests. (#15467)
1 parent fe89615 commit 5f26f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/jest-worker/src/__tests__/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ it('works with minimal options', () => {
140140
expect(WorkerPool).toHaveBeenCalledTimes(1);
141141
expect(typeof farm1.methodA).toBe('function');
142142
expect(typeof farm1.methodB).toBe('function');
143-
expect(typeof farm1).toEqual(
143+
expect(farm1).toEqual(
144144
expect.not.objectContaining({
145145
_shouldNotExist: expect.anything,
146146
}),

0 commit comments

Comments
 (0)