From 883b559cd50740015b5962e12f18c8b9e1998b45 Mon Sep 17 00:00:00 2001 From: Lenin Mehedy Date: Wed, 20 Dec 2023 13:41:34 +1100 Subject: [PATCH] test: fix broken test Signed-off-by: Lenin Mehedy --- fullstack-network-manager/test/unit/core/shell_runner.test.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fullstack-network-manager/test/unit/core/shell_runner.test.mjs b/fullstack-network-manager/test/unit/core/shell_runner.test.mjs index 9e4ee0c81..5d2d34afe 100644 --- a/fullstack-network-manager/test/unit/core/shell_runner.test.mjs +++ b/fullstack-network-manager/test/unit/core/shell_runner.test.mjs @@ -17,7 +17,8 @@ describe('ShellRunner', () => { expect(loggerSpy).toHaveBeenNthCalledWith(2, 'Finished executing: \'ls -l\'', { commandExitCode: expect.any(Number), commandExitSignal: null, - commandOutput: expect.any(Array) + commandOutput: expect.any(Array), + errOutput: expect.any(Array) }) expect(readableSpy).toHaveBeenCalledWith('data', expect.anything()) expect(childProcessSpy).toHaveBeenCalledWith('exit', expect.anything())