diff --git a/Project.toml b/Project.toml index c6ba17b..24899b3 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,7 @@ FileIO = "1.16.6" IOCapture = "0.2.5, 1" ImageCore = "0.10.5" ImageIO = "0.6.9" -JET = "0.9.12" +JET = "0.9, 0.11" Markdown = "1" REPL = "1" Sixel = "0.1.3" diff --git a/test/runtests.jl b/test/runtests.jl index 28c61fe..356ef0f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,8 +8,10 @@ using JET Aqua.test_all(DocstringAsImage) end -@testset "JET" begin - JET.report_package(DocstringAsImage, target_defined_modules = true) +if VERSION >= v"1.12.0" # The latest stable version of Julia + @testset "JET" begin + JET.report_package(DocstringAsImage, target_modules=(DocstringAsImage,)) + end end @testset "preprocess_text4typst" begin