mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
fix: incorrect error message for browser UMD bundle
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const LiquidUMD = require('../../dist/liquid.browser.umd.js').Liquid
|
||||
|
||||
describe('browser', function () {
|
||||
it('should yield unclosed output error', () => {
|
||||
const engine = new LiquidUMD()
|
||||
return expect(engine.parseAndRender('{{huh')).rejects.toMatchObject({
|
||||
message: 'output "{{huh" not closed, line:1, col:1'
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user