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
Are the docs out of date? Am I doing something wrong?
Going back to the original issue in the ticket.
The original send() would run asynchronously and spawn a request, so probably your test code finishes before even send() is done. I am honestly not sure why awaiting it does the trick here, since it's the callback what ensures that the error message was sent.
In the new send(), since it returns a Promise, you will be able to await the result and ensure that send() finished. Working on it on the PR #181
Documentation leads you to believe that the
.send()
method can simply be called and data will be sent to your dashboard.Using 0.13.2, this does not seem to be the case. I only get errors in my dashboard if I await the
.send()
method.Are the docs out of date? Am I doing something wrong?
Here is my basic code, ran inside a Vitest test
The text was updated successfully, but these errors were encountered: