Best way to unit test Sentry Browser

I’m using the new unified browser JavaScript and I’m wondering if anyone has experience Mocking aspects of the integration to assert that additional data is appended to the exception.