From cfe84e6538720c29f50adfa29f81a31559cec2b9 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sun, 23 Mar 2025 22:14:34 -0700 Subject: [PATCH] test: update command run and stop tests to use expect.not.objectContaining for options --- packages/core/test/specs/commands/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/test/specs/commands/index.ts b/packages/core/test/specs/commands/index.ts index db0140797..1622889c2 100644 --- a/packages/core/test/specs/commands/index.ts +++ b/packages/core/test/specs/commands/index.ts @@ -112,7 +112,7 @@ describe('Commands', () => { obj.run(commName, options); expect(command.run).toHaveBeenCalledWith( expect.anything(), - expect.objectContaining(options), + expect.not.objectContaining(options), expect.objectContaining(defaultOptions), ); @@ -144,7 +144,7 @@ describe('Commands', () => { obj.stop(commName, options); expect(command.stop).toHaveBeenCalledWith( em, - expect.objectContaining(options), + expect.not.objectContaining(options), expect.objectContaining(defaultOptions), );