diff --git a/AGENTS.md b/AGENTS.md index 3f9b8e1..3750301 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -150,10 +150,9 @@ Do not edit `public/tiptap/` — they are build artifacts. ## Testing ```bash -cargo test # standard Rust test suite +make test # cargo test (Rust, 392 tests) + vitest (editor lib, 46 tests) dx check # Dioxus type-check (catches component/Router issues) cargo clippy # lint -cd libs/tiptap-editor && npm test # Vitest unit tests for the editor lib ``` Most tests use `#[cfg(all(test, feature = "server"))]` — they only run when the server feature is active (which is the default). No integration tests requiring a database connection. diff --git a/Makefile b/Makefile index 6e814df..94afbc1 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ css-watch: test: @cargo test + @cd libs/tiptap-editor && npm test clean: @cargo clean