-
Robert Knight authored
Both `@sentry/browser` and `@hypothesis/frontend-shared` define items with the name `Dialog`. Rollup renames the one from `@hypothesis/frontend-shared` which changes its `Function.prototype.name` property, breaking tests which attempt to find it by name. The workaround is to find by value instead. The `Dialog` component from Sentry comes from the new feedback feature [1], which uses a component "framework" that looks like React, but it actually just a small wrapper around `document.createElement`. [1] https://github.com/getsentry/sentry-javascript/blob/develop/packages/feedback/src/widget/Dialog.ts
217929f6