Skip to content

Commit 887b83d

Browse files
committed
Fix tests redux
1 parent 90df8c8 commit 887b83d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/smoke/book/render-book.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { docs } from "../../utils.ts";
88
// Test a simple book
99
const input = docs("books/simple");
1010
const verifySimple = [
11-
fileExists(join(input, "_book", "Simple.pdf")),
11+
fileExists(join(input, "_book", "book-pdf", "Simple.pdf")),
1212
fileExists(join(input, "_book", "index.html")),
1313
fileExists(join(input, "_book", "search.json")),
1414
fileExists(join(input, "_book", "site_libs")),
@@ -30,9 +30,11 @@ testQuartoCmd(
3030
// Test a more complex book render
3131
const vizInput = docs("books/visualization-curriculum");
3232
const verifyViz = [
33-
fileExists(join(vizInput, "docs", "Visualization-Curriculum.docx")),
3433
fileExists(
35-
join(vizInput, "docs", "asciidoc", "Visualization-Curriculum.adoc"),
34+
join(vizInput, "docs", "book-docx", "Visualization-Curriculum.docx"),
35+
),
36+
fileExists(
37+
join(vizInput, "docs", "book-asciidoc", "Visualization-Curriculum.adoc"),
3638
),
3739
fileExists(join(vizInput, "docs", "index.html")),
3840
];

0 commit comments

Comments
 (0)