Skip to content

Commit

Permalink
added ping command in node
Browse files Browse the repository at this point in the history
  • Loading branch information
Adan Wattad authored and acarbonetto committed Sep 26, 2023
1 parent d3ed3b5 commit 3fea471
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions node/tests/SharedTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,17 @@ export function runBaseTests<Context>(config: {
},
config.timeout
);

it(
"ping test",
async () => {
await runTest(async (client: BaseClient) => {
expect(await client.ping()).toEqual("PONG");
expect(await client.ping("Hello")).toEqual("Hello");
});
},
config.timeout
);
}

export function runCommonTests<Context>(config: {
Expand Down

0 comments on commit 3fea471

Please sign in to comment.