Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/typedoc-plugin-evolu.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { describe, expect, it } from "vitest";
*
* These tests verify the generated documentation. Run `bun run build:docs` before
* running these tests.
*
* NOTE: This test is excluded from the regular test run in vitest.config.mts
* because it requires generated docs. It runs explicitly in the verify script
* after `bun run build:docs`.
*/

const docsPath = join(
Expand Down
3 changes: 3 additions & 0 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default defineConfig({
test: {
name: "scripts",
include: ["scripts/**/*.test.mts"],
// Exclude typedoc test because it requires generated docs.
// It runs explicitly after build:docs in the verify script.
exclude: ["scripts/typedoc-plugin-evolu.test.mts"],
},
},
],
Expand Down
Loading