mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: tool-first workflow polish -- fix tests, lint cleanup
- Remove obsolete fullscreen redirect test (route deleted in Task 3) - Update dropzone test strings to match new i18n values - Fix categories count in i18n locale test (12 -> 24) - Add chart-maker to no-dropzone exempt list in tool-registry test - Auto-fix import ordering (Biome) in popular tools route and landing config
This commit is contained in:
@@ -145,13 +145,15 @@ describe("Dropzone", () => {
|
||||
it("renders upload button and helper text", () => {
|
||||
render(<Dropzone />);
|
||||
expect(screen.getByText("Upload from computer")).toBeDefined();
|
||||
expect(screen.getByText("Drop your images here")).toBeDefined();
|
||||
expect(screen.getByText("Drop your files here")).toBeDefined();
|
||||
expect(screen.getByText("click anywhere to browse, or paste from clipboard")).toBeDefined();
|
||||
});
|
||||
|
||||
it("shows supported formats hint", () => {
|
||||
render(<Dropzone />);
|
||||
expect(screen.getByText("PNG, JPG, WebP, HEIC, RAW, PSD, and 65+ formats")).toBeDefined();
|
||||
expect(
|
||||
screen.getByText("Images, Videos, Audio, PDFs, Documents, and 150+ formats"),
|
||||
).toBeDefined();
|
||||
});
|
||||
|
||||
it("renders the drop zone section with aria label", () => {
|
||||
|
||||
Reference in New Issue
Block a user