Reads back the expect timeout the runner configured on @qawolf/flows.
()
| 16 | |
| 17 | /** Reads back the expect timeout the runner configured on @qawolf/flows. */ |
| 18 | async function readConfiguredExpectTimeout(): Promise<number> { |
| 19 | const idxUrl = import.meta.resolve("@qawolf/flows"); |
| 20 | const attrsUrl = new URL("./web/expect/attributes.js", idxUrl).href; |
| 21 | const { getWebExpectAttributes } = (await import(attrsUrl)) as { |
| 22 | getWebExpectAttributes: () => { defaultExpectTimeoutMs: number }; |
| 23 | }; |
| 24 | return getWebExpectAttributes().defaultExpectTimeoutMs; |
| 25 | } |
| 26 | |
| 27 | describe("initFlowRuntime", () => { |
| 28 | it("resolves using the CLI's own @qawolf/flows", async () => { |
no outgoing calls
no test coverage detected