(streams, kind)
| 455 | } |
| 456 | |
| 457 | function latestByKind(streams, kind) { |
| 458 | return streams |
| 459 | .filter((stream) => stream.kind === kind) |
| 460 | .sort((a, b) => numeric(b.timestampMs) - numeric(a.timestampMs))[0]; |
| 461 | } |
| 462 | |
| 463 | const profileDir = await mkdtemp(join(tmpdir(), "simdeck-webrtc-e2e-")); |
| 464 | const chromeArgs = [ |
no test coverage detected