Fix test and update deps
* Exception testing now happens for clj only * If testing for cljs is required we need tests for cljs
This commit is contained in:
parent
e6074cdb4d
commit
ef9fd8ea65
2 changed files with 41 additions and 40 deletions
|
@ -22,7 +22,7 @@
|
||||||
"url": "https://gitlab.com/domaindrivenarchitecture/c4k-common/issues"
|
"url": "https://gitlab.com/domaindrivenarchitecture/c4k-common/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"js-base64": "^3.6.1",
|
"js-base64": "^3.7.2",
|
||||||
"js-yaml": "^4.0.0"
|
"js-yaml": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
(is (= ["a1" "a2" "b1"]
|
(is (= ["a1" "a2" "b1"]
|
||||||
(cut/concat-vec '("a1" "a2") '("b1")))))
|
(cut/concat-vec '("a1" "a2") '("b1")))))
|
||||||
|
|
||||||
|
#?(:clj
|
||||||
(deftest should-refuse-illegal-inputs
|
(deftest should-refuse-illegal-inputs
|
||||||
(is (thrown? Exception
|
(is (thrown? Exception
|
||||||
(cut/concat-vec ["a1" "a2"] "b1")))
|
(cut/concat-vec ["a1" "a2"] "b1")))
|
||||||
|
@ -23,4 +24,4 @@
|
||||||
(is (thrown? Exception
|
(is (thrown? Exception
|
||||||
(cut/concat-vec ["a1" "a2"] 2)))
|
(cut/concat-vec ["a1" "a2"] 2)))
|
||||||
(is (thrown? Exception
|
(is (thrown? Exception
|
||||||
(cut/concat-vec {"a1" "a2"} []))))
|
(cut/concat-vec {"a1" "a2"} [])))))
|
||||||
|
|
Loading…
Reference in a new issue