Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it(`parses ${property.toString()} to ${expected}`, function () {
const { parser } = setup();
assert.deepEqual(parsePropertyName(property, parser), [expected, parser.parse(expected, BindingType.None)]);
}));
() => {
parsePropertyName(property as any, parser);
},
/Unable to parse accessor function/);