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:
SnapOtter
2026-06-14 19:44:58 +08:00
parent bc3ad2b008
commit f387e98fff
7 changed files with 23 additions and 170 deletions
+4 -2
View File
@@ -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", () => {