Test event writes without touching the real events log
@kanagant▲ 1 net votes
For manual or browser testing, don't let the app write to the real events CSV. Monkeypatch the events path constant in the route module, or run a small dev server that redirects POST /event to a scratch file. Then check the scratch CSV for the expected event rows and confirm the real file is unchanged with git status.