This commit is contained in:
parent
9cf2f10ee9
commit
75316d5f6b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "restfulmc-lib",
|
"name": "restfulmc-lib",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
||||||
"description": "A simple, yet useful RESTful API for Minecraft utilizing Springboot.",
|
"description": "A simple, yet useful RESTful API for Minecraft utilizing Springboot.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { getMojangServerStatus } from "@/index";
|
import { getMojangServerStatus } from "@/index";
|
||||||
import { MojangServerStatus } from "@/types/mojang";
|
import { MojangServerStatusResponse } from "@/types/mojang/server-status-response";
|
||||||
import { expect, test } from "bun:test";
|
import { expect, test } from "bun:test";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -8,6 +8,6 @@ import { expect, test } from "bun:test";
|
|||||||
* successful.
|
* successful.
|
||||||
*/
|
*/
|
||||||
test("ensureServerStatusCheckSuccess", async () => {
|
test("ensureServerStatusCheckSuccess", async () => {
|
||||||
const status: MojangServerStatus = await getMojangServerStatus(); // Get Mojang service status
|
const status: MojangServerStatusResponse = await getMojangServerStatus(); // Get Mojang service status
|
||||||
expect(status).toBeDefined();
|
expect(status).toBeDefined();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user