mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test: expand test coverage across all layers (+1,157 tests)
Fix 2 failing unit tests (landing hero text mismatch) and broken coverage tooling (brace-expansion v5 override breaking minimatch). Add ~1,097 new test cases via 14-agent parallel expansion: - Unit: +290 tests (AI bridge, image-engine, stores, API helpers) - Integration: +504 tests (all tools, cross-format matrix, adversarial) - E2E: +363 tests (navigation, tool UI, batch/pipeline, settings, visual regression, accessibility, performance, cross-browser) Total: 4,223 unit + 6,057 integration + 1,563 E2E = 11,843 tests
This commit is contained in:
@@ -36,12 +36,13 @@ afterEach(cleanup);
|
||||
describe("Hero", () => {
|
||||
it("renders the headline", () => {
|
||||
render(<Hero />);
|
||||
expect(screen.getByText("Your images. Stay yours.")).toBeDefined();
|
||||
expect(screen.getByText(/50\+ image tools\./)).toBeDefined();
|
||||
expect(screen.getByText(/One Docker container\./)).toBeDefined();
|
||||
});
|
||||
|
||||
it("renders the subheadline", () => {
|
||||
render(<Hero />);
|
||||
expect(screen.getByText(/free, open-source image toolkit/)).toBeDefined();
|
||||
expect(screen.getByText(/Resize, compress, convert, remove backgrounds/)).toBeDefined();
|
||||
});
|
||||
|
||||
it("renders the CTA button linking to GitHub", () => {
|
||||
|
||||
Reference in New Issue
Block a user