Fix Mojang tests
All checks were successful
Publish JS SDK / docker (push) Successful in 21s

This commit is contained in:
Braydon 2024-04-15 11:25:42 -04:00
parent 9cf2f10ee9
commit 75316d5f6b
2 changed files with 3 additions and 3 deletions

@ -1,6 +1,6 @@
{
"name": "restfulmc-lib",
"version": "1.0.5",
"version": "1.0.6",
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
"description": "A simple, yet useful RESTful API for Minecraft utilizing Springboot.",
"keywords": [

@ -1,5 +1,5 @@
import { getMojangServerStatus } from "@/index";
import { MojangServerStatus } from "@/types/mojang";
import { MojangServerStatusResponse } from "@/types/mojang/server-status-response";
import { expect, test } from "bun:test";
/**
@ -8,6 +8,6 @@ import { expect, test } from "bun:test";
* successful.
*/
test("ensureServerStatusCheckSuccess", async () => {
const status: MojangServerStatus = await getMojangServerStatus(); // Get Mojang service status
const status: MojangServerStatusResponse = await getMojangServerStatus(); // Get Mojang service status
expect(status).toBeDefined();
});