Recommanded configuration for LiveViews testing seems useless #757
pierrelegall
started this conversation in
General
Replies: 1 comment 4 replies
-
Are you running your tests async: true and with ecto? You need this in order for your live view process to connect to the same db connection as your test, which is what allows transactional tests. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The recommended configuration below (found in the README) is for LiveViews testing. However, it seems useless to me: my tests still works (for now) without it. Note I use
phoenix_live_view
v0.20.3
. What's its point?Beta Was this translation helpful? Give feedback.
All reactions