Browse Source

Add test for custom.js to export_test.cljs

Fixed missing thing
Candide U 2 years ago
parent
commit
3b08b9a7e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deps/publishing/test/logseq/publishing/export_test.cljs

+ 1 - 1
deps/publishing/test/logseq/publishing/export_test.cljs

@@ -73,7 +73,7 @@
          (let [original-paths (map path/basename (get-files-recursively "tmp/static"))
                copied-paths (map path/basename (get-files-recursively "tmp/published-graph"))
                new-files (set/difference (set copied-paths) (set original-paths))]
-           (is (= #{"index.html" "custom.css" "export.css"}
+           (is (= #{"index.html" "custom.css" "export.css" "custom.js"}
                   new-files)
                "A published graph has the correct new files")
            (is (= "<div>WOOT</div>"