From 31dec0e799e16e1e9be72e259dd3fa625a701e61 Mon Sep 17 00:00:00 2001 From: Mohammed Numaan <138296610+mohammednumaan@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:21:01 +0530 Subject: [PATCH] fix: fixed incorrect assertion in jest-worker unit tests. --- 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, }),