(exp: string, expected?: string)
| 2062 | } |
| 2063 | |
| 2064 | function checkBinding(exp: string, expected?: string) { |
| 2065 | const ast = parseBinding(exp); |
| 2066 | if (expected == null) expected = exp; |
| 2067 | expect(unparse(ast)).toEqual(expected); |
| 2068 | validate(ast); |
| 2069 | } |
| 2070 | |
| 2071 | function checkAction(exp: string, expected?: string) { |
| 2072 | const ast = parseAction(exp); |
no test coverage detected