Skip to content

Commit dcec9a6

Browse files
authored
Fix CI: Exclude typedoc test from regular test run (#27)
1 parent 923ab54 commit dcec9a6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

scripts/typedoc-plugin-evolu.test.mts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { describe, expect, it } from "vitest";
77
*
88
* These tests verify the generated documentation. Run `bun run build:docs` before
99
* running these tests.
10+
*
11+
* NOTE: This test is excluded from the regular test run in vitest.config.mts
12+
* because it requires generated docs. It runs explicitly in the verify script
13+
* after `bun run build:docs`.
1014
*/
1115

1216
const docsPath = join(

vitest.config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export default defineConfig({
1212
test: {
1313
name: "scripts",
1414
include: ["scripts/**/*.test.mts"],
15+
// Exclude typedoc test because it requires generated docs.
16+
// It runs explicitly after build:docs in the verify script.
17+
exclude: ["scripts/typedoc-plugin-evolu.test.mts"],
1518
},
1619
},
1720
],

0 commit comments

Comments
 (0)