diff --git a/src/theme/mod.rs b/src/theme/mod.rs index ef29cc48..de70b98b 100644 --- a/src/theme/mod.rs +++ b/src/theme/mod.rs @@ -227,6 +227,8 @@ mod tests { "highlight.css", "ayu-highlight.css", "clipboard.min.js", + "iframe.html", + "wasm-entry.mjs", ]; let temp = TempFileBuilder::new().prefix("mdbook-").tempdir().unwrap(); diff --git a/tests/init.rs b/tests/init.rs index 4deb8401..72fce0ee 100644 --- a/tests/init.rs +++ b/tests/init.rs @@ -123,7 +123,9 @@ fn copy_theme() { "favicon.svg", "highlight.css", "highlight.js", + "iframe.html", "index.hbs", + "wasm-entry.mjs", ]; let theme_dir = temp.path().join("theme"); let mut actual: Vec<_> = walkdir::WalkDir::new(&theme_dir)