Skip to content

Commit 977f505

Browse files
committed
chore: path relative should be case
1 parent 05d6a90 commit 977f505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/unplugin-tailwindcss-mangle/test/path.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ describe('path', () => {
44
it('should be', () => {
55
const context = 'C:\\github-workspace\\tailwindcss-mangle\\apps\\next-app\\.next\\'
66
const target = path.resolve('C:\\github-workspace\\tailwindcss-mangle\\apps\\next-app\\.next\\server\\chunks', '../pages/_app.js')
7-
expect(path.relative(context, target)).toBe('')
7+
expect(path.relative(context, target)).toBe('server\\pages\\_app.js')
88
})
99
})

0 commit comments

Comments
 (0)