@gameye/sdk
Version:
Node.js SDK for Gameye
34 lines (30 loc) • 784 B
text/typescript
import * as test from "blue-tape";
import { TestContext } from "../test";
import { use } from "../utils";
test(
"GameyeClient commandStartMatch",
t => use(TestContext.create(), async ({ gameyeClient }) => {
await gameyeClient.commandStartMatch(
"match",
"game",
["location"],
"template",
{},
"http://localhost/callback",
);
}),
);
test(
"GameyeClient commandStopMatch",
t => use(TestContext.create(), async ({ gameyeClient }) => {
await gameyeClient.commandStopMatch(
"match",
);
}),
);
test(
"GameyeClient queryMatch",
t => use(TestContext.create(), async ({ gameyeClient }) => {
await gameyeClient.queryMatch();
}),
);