mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 05:50:43 -07:00
fix: cache ongoing parseFile() calls, fixes #416
This commit is contained in:
@@ -155,10 +155,7 @@ describe('LiquidOptions#cache', function () {
|
||||
cache: true
|
||||
})
|
||||
mock({ '/root/foo.html': 'foo' })
|
||||
mock({ '/root/bar.html': 'bar' })
|
||||
|
||||
expect(engine.renderFileSync('foo')).to.equal('foo')
|
||||
expect(engine.renderFileSync('bar')).to.equal('bar')
|
||||
mock({ '/root/foo.html': 'bar' })
|
||||
expect(engine.renderFileSync('foo')).to.equal('foo')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user