0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 15:26:29 -05:00
penpot/common/shadow-cljs.edn
Andrey Antukh 0870910dcc
🐛 Fix nodejs incompatibility with common tests prepend script (#5730)
* 🐛 Fix nodejs incompatibility with common tests prepend script

* 📎 Fix linter issues

Related to the upcoming update of clj-kondo
2025-01-30 14:32:43 +01:00

26 lines
575 B
Clojure

{:deps {:aliases [:dev]}
:builds
{:test
{:target :esm
:output-dir "target/tests"
:runtime :node
:js-options {:js-provider :import}
:modules
{:test {:init-fn common-tests.runner/-main
:prepend-js ";if (typeof globalThis.navigator?.userAgent === 'undefined') { globalThis.navigator = {userAgent: ''}; };"}}}
:bench
{:target :node-script
:output-to "target/bench.js"
:output-dir "target/bench/"
:main bench/main
:devtools {:autoload false}
:compiler-options
{:output-feature-set :es-next
:output-wrapper false}}}
}