mirror of
https://github.com/penpot/penpot.git
synced 2025-01-04 13:50:12 -05:00
🔧 Change common tests runner to kaocha
This commit is contained in:
parent
d1a8427563
commit
1026f5b972
4 changed files with 8 additions and 8 deletions
|
@ -93,7 +93,7 @@ jobs:
|
|||
working_directory: "./common"
|
||||
command: |
|
||||
yarn test
|
||||
clojure -X:dev:test :patterns '["common-tests.*-test"]'
|
||||
clojure -M:dev:test
|
||||
|
||||
- run:
|
||||
name: "frontend tests"
|
||||
|
|
|
@ -76,12 +76,8 @@
|
|||
:ns-default build}
|
||||
|
||||
:test
|
||||
{:extra-paths ["test"]
|
||||
:extra-deps
|
||||
{io.github.cognitect-labs/test-runner
|
||||
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
|
||||
:main-opts ["-m" "cognitect.test-runner"]
|
||||
:exec-fn cognitect.test-runner.api/test}
|
||||
{:main-opts ["-m" "kaocha.runner"]
|
||||
:extra-deps {lambdaisland/kaocha {:mvn/version "1.88.1376"}}}
|
||||
|
||||
:shadow-cljs
|
||||
{:main-opts ["-m" "shadow.cljs.devtools.cli"]}
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
(t/is (mth/close? 1.5 (:x rs)))
|
||||
(t/is (mth/close? 3.5 (:y rs)))))
|
||||
|
||||
(t/deftest transform-point
|
||||
(t/deftest ^:kaocha/skip transform-point
|
||||
;;todo
|
||||
)
|
||||
|
||||
|
|
4
common/tests.edn
Normal file
4
common/tests.edn
Normal file
|
@ -0,0 +1,4 @@
|
|||
#kaocha/v1
|
||||
{:tests [{:id :unit
|
||||
:test-paths ["test"]}]
|
||||
:kaocha/reporter [kaocha.report/dots]}
|
Loading…
Reference in a new issue