Skip to content

Commit c681197

Browse files
committed
make test happy
1 parent b7ed43e commit c681197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/github/copilotRemoteAgent.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ describe('CopilotRemoteAgentManager', function () {
189189

190190
describe('invokeRemoteAgent()', function () {
191191
it('should return error when copilot API is not available', async function () {
192-
const result = await manager.invokeRemoteAgent('test prompt', 'test context');
192+
const result = await manager.invokeRemoteAgent('test prompt', 'test context', undefined);
193193

194194
assert.strictEqual(result.state, 'error');
195195
if (result.state === 'error') {
@@ -202,7 +202,7 @@ describe('CopilotRemoteAgentManager', function () {
202202
sinon.stub(manager as any, '_copilotApiPromise').value(Promise.resolve({} as any));
203203
sinon.stub(manager, 'repoInfo').resolves(undefined);
204204

205-
const result = await manager.invokeRemoteAgent('test prompt', 'test context');
205+
const result = await manager.invokeRemoteAgent('test prompt', 'test context', undefined);
206206

207207
assert.strictEqual(result.state, 'error');
208208
});

0 commit comments

Comments
 (0)