Liking cljdoc? Tell your friends :D

reacl-c.test-util.core


envcljs

(env element & [options])

Returns a new test environment to test the behavior of the given element.

Returns a new test environment to test the behavior of the given element.
sourceraw docstring

get-componentcljs

source

inject-action!cljs

(inject-action! comp action)
source

inject-state-change!cljs

(inject-state-change! comp state)
source

invoke-callback!cljs

(invoke-callback! comp callback event)
source

mount!cljs

(mount! env state)

Mounts the element of the given test environment with the given state, and returns actions and maybe a changed state.

Mounts the element of the given test environment with the given
state, and returns actions and maybe a changed state.
sourceraw docstring

providedcljmacro

(provided bindings & body)
source

send-message!cljs

(send-message! comp msg)

Sends a message to the given component or the toplevel component of the given test environment, and returns actions and maybe a changed state.

Sends a message to the given component or the toplevel component of
the given test environment, and returns actions and maybe a changed
state.
sourceraw docstring

unmount!cljs

(unmount! env)

Unmounts the element of the given test environment, and return actions and maybe a changed state.

Unmounts the element of the given test environment, and return
actions and maybe a changed state.
sourceraw docstring

update!cljs

(update! env state)

Updates the state of the element of the given test environment, and returns actions and maybe a changed state.

Updates the state of the element of the given test environment, and
returns actions and maybe a changed state.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close