dunlin/test/test-helper.fnl
2024-09-10 22:44:21 +01:00

10 lines
280 B
Fennel

(local fennel (require :fennel))
(local specials (require :fennel.specials))
(local compiler-env
(doto (. (specials.make-compiler-env) :_G)
(tset "RUNNING_TESTS" true)))
(each [_ f (ipairs arg)]
(fennel.dofile f { :correlate true :compilerEnv compiler-env }))