Javascript-Library/test/mojang.ts

8 lines
219 B
TypeScript
Raw Normal View History

2024-04-15 07:56:26 +00:00
import { getMojangEndpointStatus } from "../dist";
2024-04-14 20:11:46 +00:00
test("ensureMojangEndpointStatusLookupSuccess", async () => {
2024-04-15 07:56:26 +00:00
const response = await getMojangEndpointStatus();
2024-04-14 20:11:46 +00:00
expect(response).toHaveProperty("endpoints");
});