(name, typeConst, extra = [])
| 344 | |
| 345 | describe('unionSelector', () => { |
| 346 | const recAst = (name, typeConst, extra = []) => ({ |
| 347 | Type: 'group', |
| 348 | Name: name, |
| 349 | IsChoiceAddition: false, |
| 350 | Comments: [], |
| 351 | Properties: [{ Name: 'type', Occurrence: { n: 1, m: 1 }, Type: [lit(typeConst)], Comments: [] }, ...extra], |
| 352 | }) |
| 353 | const union = (name, refs) => ({ |
| 354 | Type: 'variable', |
| 355 | Name: name, |
no test coverage detected