Release Scan Tools v0.1.0

This commit is contained in:
2026-09-01 14:34:51 +02:00
commit 75cd6a6195
64 changed files with 11626 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { render, screen } from "@testing-library/react";
import { describe, expect, it } from "vitest";
import { Workbench } from "../../src/components/Workbench";
describe("Scan Tools workbench", () => {
it("opens with a bounded local workflow and no content", () => {
render(<Workbench />);
expect(
screen.getByRole("heading", {
name: "Correct pages, assemble a document, then export.",
}),
).toBeInTheDocument();
expect(
screen.getByRole("heading", { name: "No pages yet" }),
).toBeInTheDocument();
expect(
screen.getByText(/Four-corner perspective correction/u),
).toBeInTheDocument();
expect(screen.getByLabelText("Add images or camera pages")).toHaveAttribute(
"capture",
"environment",
);
});
});