diff --git a/src/helper/ssg/utils.test.ts b/src/helper/ssg/utils.test.ts index 6c032b32f..ed151ce63 100644 --- a/src/helper/ssg/utils.test.ts +++ b/src/helper/ssg/utils.test.ts @@ -18,8 +18,8 @@ describe('joinPath', () => { expect(joinPaths('test', '...', 'test2')).toBe('test/.../test2') // single triple dot and single expect(joinPaths('test', './test2', '.test3.')).toBe('test/test2/.test3.') // single and single with slash and single with dot expect(joinPaths('test', '../', '.test2')).toBe('.test2') // single and parent and single with dot - expect(joinPaths('..', '..', 'abc')).toBe('../../abc') // parent and parent - expect(joinPaths('..', '..')).toBe('../..') // parent and parent and single + expect(joinPaths('..', '..', 'test')).toBe('../../test') // parent and parent and single + expect(joinPaths('..', '..')).toBe('../..') // parent and parent expect(joinPaths('.test../test2/../')).toBe('.test..') //shuffle expect(joinPaths('.test./.test2/../')).toBe('.test.') //shuffle2 })