.href = makeAbsoluteUrl('/');
        anchor.target = '_blank';

        expect(isClickCaptured(anchor)).to.be.eq(false);
          expect(pushStateCalls).to.be.equal(0);
        });

        test('a link with an href to the ' +
             'current page shouldn\'t add to history.', function() {
          var anchor = document.createElement('a');
          anchor.href = window.location.href;

          // The click is captured, but it doesn't add to history.
          expect(isClickCaptured(anchor)).to.be.