(cmds: string[])
| 453 | await runtime2.forkWorkspace(buildForkParams()); |
| 454 | |
| 455 | const extract = (cmds: string[]): string => { |
| 456 | const match = cmds |
| 457 | .map((c) => /\.mux-fork-staging-([0-9a-f]{12})/.exec(c)?.[1]) |
| 458 | .find((m): m is string => Boolean(m)); |
| 459 | if (!match) throw new Error("no staging id observed"); |
| 460 | return match; |
| 461 | }; |
| 462 | |
| 463 | expect(extract(runtime1.commands)).not.toBe(extract(runtime2.commands)); |
| 464 | }); |
no test coverage detected