refactor(compiler): switch to acorn
This commit is contained in:
@@ -345,6 +345,6 @@ describe('compiler: expression transform', () => {
|
||||
test('should handle parse error', () => {
|
||||
const onError = jest.fn()
|
||||
parseWithExpressionTransform(`{{ a( }}`, { onError })
|
||||
expect(onError.mock.calls[0][0].message).toMatch(`Expected ')'`)
|
||||
expect(onError.mock.calls[0][0].message).toMatch(`Unexpected token (1:4)`)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user