mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 05:50:43 -07:00
feat: export toValueSync & defaultOptions to evaluate expression, see #527
This commit is contained in:
@@ -199,7 +199,7 @@ describe('Liquid', function () {
|
||||
describe('#enderToNodeStream', function () {
|
||||
const engine = new Liquid()
|
||||
it('should render a simple value', async () => {
|
||||
const stream = await engine.renderToNodeStream(engine.parse('{{"foo"}}'))
|
||||
const stream = engine.renderToNodeStream(engine.parse('{{"foo"}}'))
|
||||
expect(drainStream(stream)).to.eventually.equal('foo')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user