chore: migrate test cases from Chai to Jest

This commit is contained in:
Harttle
2023-03-20 00:41:06 +08:00
committed by Jun Yang
parent dccb90c591
commit c6cde9cd10
97 changed files with 8163 additions and 26440 deletions
+10
View File
@@ -0,0 +1,10 @@
import { normalize } from './liquid-options'
describe('liquid-options', () => {
describe('.normalize()', () => {
it('should set cache to undefined if specified to falsy', () => {
const options = normalize({ cache: false })
expect(options.cache).toBeUndefined()
})
})
})