(path)
| 68 | const requireVisualSamples = process.env.SIMDECK_E2E_REQUIRE_VISUAL !== "0"; |
| 69 | |
| 70 | function endpoint(path) { |
| 71 | return new URL(`${apiRootPath}${path}`, serverUrl).toString(); |
| 72 | } |
| 73 | |
| 74 | function apiRootPathForViewerUrl(url) { |
| 75 | const match = url.pathname.match(/^\/simulator\/([^/]+)/); |
no test coverage detected