Skip to content

Commit d398e94

Browse files
committed
Fix test error
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent 00a9974 commit d398e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/odo.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ suite('odo', () => {
8989
const cwd = 'path/to/some/dir';
9090
await odoCli.execute(command, cwd);
9191

92-
expect(execStub).calledOnceWith(`${command}`, (odo.getInstance() as odo.OdoImpl).createEnv() );
92+
expect(execStub).calledOnceWith(`${command}`, { cwd, env: (odo.getInstance() as odo.OdoImpl).createEnv() });
9393
});
9494

9595
test('execute rejects if an error occurs in the shell command', async () => {

0 commit comments

Comments
 (0)