Skip to content

Commit fa19043

Browse files
committed
try preview in CI
1 parent 4d9f538 commit fa19043

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runtests.jl

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ end
6666
@testset "HTML" begin
6767
@test repr(n1) == "<div>hi</div>"
6868
end
69+
#-----------------------------------------------------------------------------# preview
70+
@testset "preview" begin
71+
get(ENV, "CI", "false") == "true" && @test preview(h.div("hi")) isa Base.Process
72+
end
6973
#-----------------------------------------------------------------------------# Javascript
7074
@testset "Javascript" begin
7175
@test repr("text/javascript", Cobweb.Javascript("x")) == "x"

0 commit comments

Comments
 (0)