Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darrell-thobe-sp committed Sep 12, 2024
1 parent 48ec84d commit 5ba30a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/connector/static/connector/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ describe('connector unit tests', () => {
it('should execute stdTestConnectionHandler', async () => {
await (await connector())._exec(
StandardCommand.StdTestConnection,
{},
{reloadConfig() {
return Promise.resolve()
},},
undefined,
new PassThrough({ objectMode: true }).on('data', (chunk) => expect(chunk).toStrictEqual(new RawResponse ({}, ResponseType.Output)))
)
Expand Down

0 comments on commit 5ba30a5

Please sign in to comment.