Replies: 1 comment
-
It looks like you probably figured this out already, but just in case anyone else comes across this via search: Test workers using the test worker helpers. They'll exercise the whole middleware stack including the River log stuff. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve added Riverlog middleware to my workers so logs show up in the UI. The downside is that it complicates testing, since Riverlog expects the logger to be set in the context, which doesn’t happen in the tests. Right now, there doesn’t seem to be a documented way around that.
Beta Was this translation helpful? Give feedback.
All reactions