From 5f26f09cc5bbf0d82faa6f91f77283db7246cfbb Mon Sep 17 00:00:00 2001 From: "void." <138296610+mohammednumaan@users.noreply.github.com> Date: Sun, 19 Jan 2025 16:03:04 +0530 Subject: [PATCH] fix: fixed incorrect assertion in jest-worker unit tests. (#15467) --- packages/jest-worker/src/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-worker/src/__tests__/index.test.ts b/packages/jest-worker/src/__tests__/index.test.ts index 51af067997a6..30d85f18d309 100644 --- a/packages/jest-worker/src/__tests__/index.test.ts +++ b/packages/jest-worker/src/__tests__/index.test.ts @@ -140,7 +140,7 @@ it('works with minimal options', () => { expect(WorkerPool).toHaveBeenCalledTimes(1); expect(typeof farm1.methodA).toBe('function'); expect(typeof farm1.methodB).toBe('function'); - expect(typeof farm1).toEqual( + expect(farm1).toEqual( expect.not.objectContaining({ _shouldNotExist: expect.anything, }),