mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
This commit is contained in:
@@ -3,13 +3,9 @@ import { expect } from 'chai'
|
||||
|
||||
describe('liquid-options', () => {
|
||||
describe('.normalize()', () => {
|
||||
it('should return plain object for empty input', () => {
|
||||
const options = normalize()
|
||||
expect(JSON.stringify(options)).to.equal('{}')
|
||||
})
|
||||
it('should set falsy cache to undefined', () => {
|
||||
it('should set cache to undefined if specified to falsy', () => {
|
||||
const options = normalize({ cache: false })
|
||||
expect(JSON.stringify(options)).to.equal('{}')
|
||||
expect(options.cache).to.equal(undefined)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user