-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use kaocha test-runner for cljs (#90)
* use kaocha test-runner for cljs * replace faulty kaocha node testrunner with olical testrunner * read minimal shadow-cljs file for compilation * update ci * fix cljs support * Add cljs code for encryptor salt. * Concatenate output. * Handle cljs return value properly. * Add offsets. * fix lz4 warning for cljs * aes fixes * tweaks * Fix format and compliance test refer. * remove unnecessary try-catch block --------- Co-authored-by: Christian Weilbach <[email protected]> Co-authored-by: pat <[email protected]>
- Loading branch information
1 parent
c2268c6
commit 86dc05f
Showing
16 changed files
with
131 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
clojure -A:test -m kaocha.runner "$@" | ||
|
||
clojure -M:test -m kaocha.runner "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
TIMBRE_LEVEL=':warn' clojure -M:test -m kaocha.runner | ||
TIMBRE_LEVEL=':warn' clojure -M:test -m kaocha.runner unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
{:deps {:aliases [:cljs]} | ||
|
||
:source-paths ["src"] | ||
:builds | ||
{:app | ||
{:target :browser | ||
:output-dir "public/js" | ||
:asset-path "/js" | ||
:modules {:main {:entries [konserve.core]}}} | ||
|
||
:browser-test | ||
{:target :browser-test | ||
:test-dir "resources/public/js/test" | ||
:devtools {:http-port 8021 | ||
:http-root "resources/public/js/test"}} | ||
|
||
:node-test | ||
{:target :node-test | ||
:output-to "out/node-tests.js" | ||
:autorun true} | ||
|
||
:ci | ||
{:target :karma | ||
:output-to "target/ci.js"}}} | ||
:modules {:main {:entries [konserve.core]}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.