* {{> seeCurrentPathEquals }}
(path)
| 2452 | * {{> seeCurrentPathEquals }} |
| 2453 | */ |
| 2454 | async seeCurrentPathEquals(path) { |
| 2455 | const currentUrl = await this._getPageUrl() |
| 2456 | const baseUrl = this.options.url || 'http://localhost' |
| 2457 | const actualPath = new URL(currentUrl, baseUrl).pathname |
| 2458 | return equals('url path').assert(normalizePath(path), normalizePath(actualPath)) |
| 2459 | } |
| 2460 | |
| 2461 | /** |
| 2462 | * {{> dontSeeCurrentPathEquals }} |
nothing calls this directly
no test coverage detected