Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martha-johnston committed Jan 22, 2025
1 parent 18b1162 commit 685692c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/discovery/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('DiscoveryClient Tests', () => {
const expected = [discoveries];

await expect(
discovery.discoverResources('discovery')
discovery.discoverResources()
).resolves.toStrictEqual(expected);
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/services/discovery/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class DiscoveryClient implements Discovery {
) {
const request = new DiscoverResourcesRequest({
name: this.name,
extra: Struct.fromJson(extra),
extra: extra,
});

this.options.requestLogger?.(request);
Expand Down

0 comments on commit 685692c

Please sign in to comment.