mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 05:50:43 -07:00
perf: introduce AST to avoid reparse
This commit is contained in:
@@ -6,6 +6,6 @@ describe('#evalValueSync()', function () {
|
||||
beforeEach(() => { engine = new Liquid() })
|
||||
|
||||
it('should throw when scope undefined', async function () {
|
||||
return expect(() => engine.evalValueSync('{{"foo"}}', null as any)).to.throw(/context not defined/)
|
||||
return expect(() => engine.evalValueSync('foo', null as any)).to.throw(/context not defined/)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user