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
I've starting using this in a new project I am working on and during controller testing I made a helper that I add to my conn_case.ex that maybe other people would find useful? I can add some documentation as a PR if this is something anyone would want. If not, just putting this here in case it helps someone.
I've starting using this in a new project I am working on and during controller testing I made a helper that I add to my
conn_case.ex
that maybe other people would find useful? I can add some documentation as a PR if this is something anyone would want. If not, just putting this here in case it helps someone.Then you can use it a test like:
Which gives you a map of the inertia injected data on the page:
This can be useful to assert the correct component is being rendered, or assert about the props being injected into the component.
The text was updated successfully, but these errors were encountered: