(span: ParseSpan)
| 817 | const ast = parseBinding('{one: 1, two: "the number two", three, "four": 4, ...five}'); |
| 818 | const literal = ast.ast as LiteralMap; |
| 819 | const getSource = (span: ParseSpan) => ast.source?.substring(span.start, span.end); |
| 820 | |
| 821 | expect(getSource(literal.keys[0].span)).toBe('one'); |
| 822 | expect(getSource(literal.keys[1].span)).toBe('two'); |
no outgoing calls
no test coverage detected
searching dependent graphs…