fix: break/continue omitting output before them, #123

BREAKING CHANGE: remove default export, now should be used like import
{Liquid} from 'liquidjs'
This commit is contained in:
harttle
2019-08-26 10:15:43 -05:00
committed by Jun Yang
parent 854e12ba53
commit ae45c4622e
99 changed files with 373 additions and 407 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
import { expect } from 'chai'
import Liquid from '../../../src/liquid'
import { Liquid } from '../../../src/liquid'
import * as path from 'path'
import { mock, restore } from '../../stub/mockfs'
@@ -190,7 +190,8 @@ describe('error', function () {
engine.registerTag('throwsOnParse', {
parse: function () {
throw new Error('intended parse error')
}
},
render: () => ''
})
})
it('should throw ParseError when filter not defined', async function () {