_chai.Assertion.addMethod('withPath', function (path) {
    let url = assertParsedURL(this._obj)

    this.assert(
      url.pathname === path,