Commit fb17564
committed
fix(shared/sentry-utils): Break circular import in before-send.browser
Because:
- before-send.browser.ts imported SentryConfigOpts and tagFxaName from
'@fxa/shared/sentry-utils' (its own index). Webpack's circular-module
handling left the re-exported bindings undefined in the content-server
test bundle, which caused the mocha runner to never initialize (the
'globalThis.runner is undefined' failure surfaced by the functional
tests for content-server mocha tests, cookies disabled, and post-verify
force password change).
This commit:
- Imports SentryConfigOpts directly from ./models/sentry-config-opts and
tagFxaName directly from ./utils.1 parent 7d6f83d commit fb17564
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments