mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 22:40:48 -07:00
perf: introduce AST to avoid reparse
This commit is contained in:
@@ -93,7 +93,7 @@ describe('Liquid', function () {
|
||||
})
|
||||
const tpls = await engine.getTemplate('mocha')
|
||||
expect(tpls.length).to.gte(1)
|
||||
expect(tpls[0].token.raw).to.contain('module.exports')
|
||||
expect(tpls[0].token.getText()).to.contain('module.exports')
|
||||
})
|
||||
})
|
||||
describe('#evalValue', function () {
|
||||
|
||||
Reference in New Issue
Block a user