mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
chore(TypeScript): ship Liquid to class
BREAKING CHANGE: calling `Liquid()` without `new` now becomes invalid
This commit is contained in:
@@ -7,8 +7,8 @@ chai.use(require('chai-as-promised'))
|
||||
describe('.parseAndRender()', function () {
|
||||
var engine, strictEngine
|
||||
beforeEach(function () {
|
||||
engine = Liquid()
|
||||
strictEngine = Liquid({
|
||||
engine = new Liquid()
|
||||
strictEngine = new Liquid({
|
||||
strict_filters: true
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user