You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming the div-containing-component contains at least one div before sending the message and zero after. divs-before returns an empty list, since the query is evaluated after all divs where destroyed. That said, the assertion will fail. Wrapping it in (doall (xpath/select-all ...)) fixes the problem.
I'd expect xpath/select-all to be evaluated eagerly.
The text was updated successfully, but these errors were encountered:
In the following example the behavior of
xpath/select-all
seems unintuitive because of lazyness:Assuming the
div-containing-component
contains at least one div before sending the message and zero after.divs-before
returns an empty list, since the query is evaluated after all divs where destroyed. That said, the assertion will fail. Wrapping it in(doall (xpath/select-all ...))
fixes the problem.I'd expect
xpath/select-all
to be evaluated eagerly.The text was updated successfully, but these errors were encountered: