Initial release of Geo Tools 0.1.0
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import { App } from "../../src/App";
|
||||
|
||||
describe("Geo Tools", () => {
|
||||
it("renders the local workbench and standard shell", async () => {
|
||||
vi.stubGlobal(
|
||||
"fetch",
|
||||
vi.fn(async () => new Response("Not found", { status: 404 })),
|
||||
);
|
||||
render(<App />);
|
||||
expect(
|
||||
await screen.findByRole("heading", { name: "Geo Tools" }),
|
||||
).toBeVisible();
|
||||
expect(await screen.findByText("No map requests")).toBeVisible();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user