Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x authored May 27, 2024
1 parent d88d7aa commit 135627f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helper/ssg/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 135627f

Please sign in to comment.