test: case for "." path handling

This commit is contained in:
Yang Jun
2024-11-12 23:59:40 +08:00
committed by Jun Yang
parent 28b14901d3
commit 0b195b21eb
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { normalize } from '../../../src/liquid-options'
describe('LiquidOptions#root', function () {
describe('#normalize ()', function () {
describe('#normalize()', function () {
it('should normalize string typed root array', function () {
const options = normalize({ root: 'foo' })
expect(options.root).toEqual(['foo'])