Skip to content

Commit

Permalink
Fix webserver test
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed May 24, 2023
1 parent ce628df commit eda1dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nextjournal/clerk/webserver_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{:nextjournal/keys [value]} presented
{elision-viewer :nextjournal/viewer elision-fetch-opts :nextjournal/value} (peek value)
{:keys [body]} (webserver/serve-blob doc (merge fetch-opts {:fetch-opts elision-fetch-opts}))]
(is (= `nextjournal.clerk.viewer/elision-viewer (:name elision-viewer)))
(is (= `nextjournal.clerk.viewer/elision-viewer$5drduatKq2QJCDhSX1Pu45i4whSPHk elision-viewer))
(is body)
(is (= (-> body webserver/read-msg :nextjournal/value first :nextjournal/value) 20)))))

0 comments on commit eda1dfb

Please sign in to comment.