stest/check test doesn't work in self-hosted tests

Description

The test in CLJS-2986-test.patch doesn't pass with script/test-self-parity.

The test:

1 2 3 4 5 6 7 8 9 10 11 12 (defn fn-2986 [x] true) (s/fdef fn-2986 :args (s/cat :x int?) :ret true?) (deftest test-2986 (let [check-res (stest/check `fn-2986 {:clojure.test.check/opts {:num-tests 1}})] (is (seq check-res)) (is (every? (fn [res] (= 1 (-> res :clojure.test.check/ret :num-tests))) check-res))))

It fails with:

1 2 3 4 5 Testing cljs.spec.test-test FAIL in (test-2986) (at cljs/test.js:429:14) expected: (seq check-res) actual: (not (seq []))

I cannot reproduce this result with Planck.

Environment

None

Status

Assignee

Michiel Borkent

Reporter

Michiel Borkent

Labels

Approval

None

Patch

Code and Test

Priority

Major
Configure