mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
13 lines
322 B
TypeScript
13 lines
322 B
TypeScript
import { expect } from 'chai'
|
|
import { Liquid } from '../..'
|
|
|
|
describe('#evalValue()', function () {
|
|
var engine: Liquid
|
|
beforeEach(() => { engine = new Liquid() })
|
|
|
|
it('should eval value', async function () {
|
|
const val = await engine.evalValue('true', { opts: {} } as any)
|
|
expect(val).to.equal(true)
|
|
})
|
|
})
|