Fork me on GitHub
#re-frame
<
2020-04-23
>
ingesol13:04:38

@pshar10 I think when you run (re-frame.core/dispatch [:something something]) , that one’s supposed to return nil

Philipp Siegmantel14:04:05

Hallo, I have more of a general question. How to you test your View code? Simple reagent view functions can be testet by assertions over the data structures they return, but my current project has lots of DOM manipulation. Selenium is an option I tired, but for some technical reasons it just doesn't cut it. An example of a function I'd like to test would be one that creates and positions a slider.

lilactown16:04:21

we’ve started using react-testing-library - you might be able to put something together using that