Liking cljdoc? Tell your friends :D

wagoe.test

Integration tests for a Wagoe application: boot its own system on the test profile with in-process adapters, talk to it over Ring, and make the asynchronous parts deterministic (BOU-469).

(with-test-system [sys my-app.system-config/ig-config] (let [c (client sys)] (sign-in-as! c {:roles [:orders/editor]}) (request c :post "/web/orders" {:form {:sku "x"}}) (run-pending-jobs! sys) (drain-events! sys :orders)))

Lint the two macros as clojure.core/let; the jar exports that to clj-kondo.

Integration tests for a Wagoe application: boot its own system on the test
profile with in-process adapters, talk to it over Ring, and make the
asynchronous parts deterministic (BOU-469).

  (with-test-system [sys my-app.system-config/ig-config]
    (let [c (client sys)]
      (sign-in-as! c {:roles [:orders/editor]})
      (request c :post "/web/orders" {:form {:sku "x"}})
      (run-pending-jobs! sys)
      (drain-events! sys :orders)))

Lint the two macros as `clojure.core/let`; the jar exports that to
clj-kondo.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close