(tests: dataform.ITest[])
| 699 | } |
| 700 | |
| 701 | private checkTestNameUniqueness(tests: dataform.ITest[]) { |
| 702 | const allNames: string[] = []; |
| 703 | tests.forEach(testProto => { |
| 704 | if (allNames.includes(testProto.name)) { |
| 705 | this.compileError( |
| 706 | new Error(`Duplicate test name detected: "${testProto.name}"`), |
| 707 | testProto.fileName |
| 708 | ); |
| 709 | } |
| 710 | allNames.push(testProto.name); |
| 711 | }); |
| 712 | } |
| 713 | |
| 714 | private checkCircularity(actions: ActionProto[]) { |
| 715 | const allActionsByStringifiedTarget = new Map<string, ActionProto>( |
no test coverage detected