(base, candidate)
| 20 | import {test} from 'node:test'; |
| 21 | |
| 22 | function paired(base, candidate) { |
| 23 | return base.flatMap((value, block) => [ |
| 24 | {block, arm: 'base', metrics: {opportunity: value}}, |
| 25 | {block, arm: 'candidate', metrics: {opportunity: candidate[block]}} |
| 26 | ]); |
| 27 | } |
| 28 | |
| 29 | test('missing Event Timing stays missing and events from one interaction are grouped', () => { |
| 30 | let sample = { |
no outgoing calls
no test coverage detected