ce navigation.
  await ensureWindowLoadEventFired(t);

  const from = navigation.currentEntry;
  const expectedError = new Error("boo");

  const recorder = new Recorder({
    skipCurrentChange: !hasVariant("currententrychange"),
    finalExpectedEvent: "transition.finished rejected"
  });

  recorder.setUpNavigationAPIListeners();

  navigation.addEventListener("navigate", e => {
    e.intercept({ handler() {
      recorder.record("handler run");
      return Promise.reject(expectedError);
    }});
  });

