I was writing tests for a utility where I use the PostHog API client, and kept running into race detection issues at this line. I couldn't even successfully run make test without triggering this issue. Those tests no longer yield a race condition warning, and I've added the flag to the action definition for unit testing. :)
I was writing tests for a utility where I use the PostHog API client, and kept running into race detection issues at this line. I couldn't even successfully run
make test
without triggering this issue. Those tests no longer yield a race condition warning, and I've added the flag to the action definition for unit testing. :)