Files
radicle-explorer/httpd-client/tests/client.test.ts
T
2023-05-11 10:51:35 +02:00

23 lines
415 B
TypeScript

import { describe, test } from "vitest";
import { HttpdClient } from "../index";
const api = new HttpdClient({
hostname: "127.0.0.1",
port: 8080,
scheme: "http",
});
describe("client", () => {
test("#getNodeInfo()", async () => {
await api.getNodeInfo();
});
test("#getStats()", async () => {
await api.getStats();
});
test("#getNode()", async () => {
await api.getNode();
});
});