Fork me on GitHub
#clojure-spec
<
2020-05-18
>
Franklin12:05:55

How can I fix this:

Franklin12:05:58

Error Error: Require clojure.test.check and clojure.test.check.properties before calling check.

Franklin12:05:16

I get this when I call (stest/check `filter-list)

Franklin12:05:00

picard-facepalm never mind, I should have just read the error messsage

mpenet13:05:53

@seancorfield @alexmiller @sgerguri fyi we released our internal fork of spec-coerce https://github.com/exoscale/coax

4
sgerguri13:05:28

Nice, I'll have a look today - appreciate the heads up!

👍 4
Felipe Marques18:05:55

Hi, there, I'm using spec-tools with a multi-spec, and I get the following error when trying to coerce some data:

TypeError: Cannot read property 'cljs$core$IFn$_invoke$arity$2' of null
    at type_priority (/js/cljs-runtime/spec_tools.parse.js:270:22)
    at eval (/js/cljs-runtime/cljs.core.js:7726:102)
    at eval (/js/cljs-runtime/cljs.core.js:7638:85)
    at stableCompareFn (/js/cljs-runtime/goog.array.array.js:640:12)
    at Array.sort (<anonymous>)
    at Object.goog.array.sort (/js/cljs-runtime/goog.array.array.js:626:7)
    at Object.goog.array.stableSort (/js/cljs-runtime/goog.array.array.js:642:14)
    at Function.eval [as cljs$core$IFn$_invoke$arity$2] (/js/cljs-runtime/cljs.core.js:7686:12)
    at Function.eval [as cljs$core$IFn$_invoke$arity$3] (/js/cljs-runtime/cljs.core.js:7724:23)
    at Function.eval [as cljs$core$IFn$_invoke$arity$2] (/js/cljs-runtime/cljs.core.js:7720:26)
Does anyone have a similar problem?