Files
rum/scripts/test
Roman Liutikov 2da89a67db Sablono fork & Remove render queue (#205)
* sablono for wip

* sablono fork wip

* fmt

* sablono fork wip

* sablono fork wip

* sablono fork wip

* sablono fork wip

* sablono fork wip

* 0.12.0-SNAPSHOT

* sablono -> daiquiri

* do not use JSValue to compile to js object & array

* handle fragment syntax on jvm ssr

* cache transformed attrs

* fix no sablono

* compiler tests wip

* emit nil for attrs and children instead of empty object and array

* wip

* wip compiler tests

* done compiler tests

* type inference and tests

* wip propagate defc return tag

* wip propagate defc return tag

* wip propagate defc return tag

* wip propagate defc return tag

* done propagate defc return tag

* add normalize tests

* add util test

* add interpreter test & node unit tests runner script

* run lein test from the script

* build

* v0.12.0
2020-06-28 22:39:44 +03:00

15 lines
279 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -o pipefail
lein test
echo "Building ClojureScript unit tests..."
clojure -A:test -m cljs.main -co '{:target :nodejs :optimizations :none :output-to "test.js"}' -c test-runner
echo "Running ClojureScript unit tests..."
node test.js
rm test.js