Skip to content

test(js): Fix console.errors from <NarrowLayout>#15058

Merged
billyvg merged 1 commit into
masterfrom
test/js/fix-narrow-layout
Oct 11, 2019
Merged

test(js): Fix console.errors from <NarrowLayout>#15058
billyvg merged 1 commit into
masterfrom
test/js/fix-narrow-layout

Conversation

@billyvg

@billyvg billyvg commented Oct 11, 2019

Copy link
Copy Markdown
Member

jsdom does not like tests trying to redirect. Change to use window.location.assign so we can mock them in tests

image

jsdom does not like tests trying to redirect. Change to use `window.location.assign` so we can mock them in tests
@billyvg billyvg requested a review from a team October 11, 2019 18:01
@billyvg billyvg merged commit 5c0f0e9 into master Oct 11, 2019
@billyvg billyvg deleted the test/js/fix-narrow-layout branch October 11, 2019 18:59
jan-auer added a commit that referenced this pull request Oct 14, 2019
* master: (405 commits)
  ref(ui): Add invite members panel (#15040)
  feat(dev): Add more post-merge suggestions (#15046)
  test(js): Fix console.errors from `<NarrowLayout>` (#15058)
  feat(apm): Display the op name for the top-level root span of the transaction. (#15057)
  perf(db): Cache positive/negative hits on Group being assigned during owner assignment. (#15049)
  chore(tagstore): Remove SnubaCompatibilityTagStorage (#15033)
  feat(api): Monkeypatch Django Migrations to have various safety features
  fix: Fix None-deref (#15052)
  perf(db): Get GroupSnooze from cache for notifactions hot path. (#15048)
  fix(ingest): Always count message towards batch (#15053)
  fix(event processing): Extend data scrubbing to all user attributes (#14812)
  fix(minidump): Catch msgpack TypeError (#15054)
  ref(signals): Process event_filtered and event_dropped in outcomes consumer exclusively (#15031)
  ref(ingest): Use batching-kafka-consumer (#15010)
  perf(db): Explicitly rebind Organization alongside Project. (#15041)
  feat(apm): Add APM for `<OrganizationDetails>` and `<ProjectsD… (#14960)
  ref(ui): Allow audit log filters to be cleared (#15038)
  py3(django): fix a few Django 1.9 deprecation warnings (#15025)
  ref(members): Disable roles that cannot be invited (#15037)
  fix(member-invite): Provide roles for admins using the invite modal (#14989)
  ...
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants