Closed maxbeatty closed 1 year ago
hey @maxbeatty!
Actually you're right, it will be a good point for documentation and THIS IS the reason why we added sentry-testkit/dist/browser
:)
I'll try to add it soon, you're more than welcome to PR of-course
Stale issue message
Is your feature request related to a problem? Please describe. We use Karma in a browser to run our tests. The local server that is created uses Node.js dependencies that can't be provided ('http', 'net', 'path', etc.) so the tests fail to run. I thought I wanted a new feature of browser-only support that appears to already exist π https://github.com/zivl/sentry-testkit/blob/v5.0.5/src/browser.ts
Describe the solution you'd like Document this feature! (Sorry if I overlooked it π ). Our code ended up looking something like:
Describe alternatives you've considered I considered writing my own stripped-down transport but thankfully won't have to π
Additional context Thanks for building this!