RESTfulMC/Lib/test/index.test.ts

25 lines
690 B
TypeScript
Raw Normal View History

2024-04-14 13:35:55 -07:00
// describe("player", () => {
// it("Rainnny", async () => {
// const player: CachedPlayer = await getPlayer("Rainnny");
// console.log("player found", player.cached);
// });
// });
2024-04-14 13:35:55 -07:00
// describe("server", () => {
// it("java", async () => {
// const server: JavaMinecraftServer | BedrockMinecraftServer =
// await getMinecraftServer("java", "play.wildnetwork.net");
2024-04-14 13:35:55 -07:00
// if ((server as BedrockMinecraftServer).id) {
// }
// console.log(server.ip);
// });
// });
2024-04-14 13:35:55 -07:00
// describe("mojang", () => {
// it("status", async () => {
// const status: MojangServerStatus = await getMojangServerStatus();
// console.log(status["https://sessionserver.mojang.com"]);
// });
// });