diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000000..b12b915d02d6 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,4 @@ +Be extremely concise. Sacrifice grammar for concision. +Frontend is partially migrated from vanilla JS to SolidJS — new components use `.tsx`, legacy code remains vanilla. +Run `pnpm run lint` when checking for linting OR typescript errors with oxlint. +Single test file: `pnpm vitest run path/to/test.ts` diff --git a/frontend/__tests__/components/common/Button.spec.tsx b/frontend/__tests__/components/common/Button.spec.tsx index b753e0cea454..8f55964d5460 100644 --- a/frontend/__tests__/components/common/Button.spec.tsx +++ b/frontend/__tests__/components/common/Button.spec.tsx @@ -172,44 +172,6 @@ describe("Button component", () => { expect(child).toHaveTextContent("Child"); }); - it("applies custom class list when classList prop is provided", () => { - const { container } = render(() => ( - - - - - - - diff --git a/frontend/src/index.html b/frontend/src/index.html index 8073ca189c58..2e4b89c28cd3 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -27,7 +27,7 @@