RESTfulMC/Lib/test/index.test.ts
Rainnny7 acae5dbcd6
Some checks failed
Deploy Lib / docker (ubuntu-latest, 2.44.0) (push) Failing after 1m31s
Disable tests, not done yet
2024-04-14 16:35:55 -04:00

25 lines
690 B
TypeScript

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