We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a9974 commit d398e94Copy full SHA for d398e94
test/unit/odo.test.ts
@@ -89,7 +89,7 @@ suite('odo', () => {
89
const cwd = 'path/to/some/dir';
90
await odoCli.execute(command, cwd);
91
92
- expect(execStub).calledOnceWith(`${command}`, (odo.getInstance() as odo.OdoImpl).createEnv() );
+ expect(execStub).calledOnceWith(`${command}`, { cwd, env: (odo.getInstance() as odo.OdoImpl).createEnv() });
93
});
94
95
test('execute rejects if an error occurs in the shell command', async () => {
0 commit comments