(what: string, url: unknown)
| 184 | const api = `${frontOrigin}/api/app/v1`; |
| 185 | const theApp = app!; |
| 186 | const httpsOnly = (what: string, url: unknown) => |
| 187 | expect(String(url), `${what} is a URL pad hands the app`).toMatch(new RegExp(`^${frontOrigin.replace(/\./g, '\\.')}(/|$)`)); |
| 188 | |
| 189 | // 0. What pad advertises is https, through the front, and the app |
| 190 | // takes its token endpoint from there rather than knowing it. |
no test coverage detected