Files
liquidjs/test/e2e/eval-value.ts
T
2020-12-08 00:30:32 +08:00

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)
})
})