1
0
Fork 0

fix assertion

pull/1830/head
Rob Herley 2024-09-20 17:45:55 -04:00
parent d6694e491d
commit 8551843690
No known key found for this signature in database
GPG Key ID: D1602042C3543B06
1 changed files with 3 additions and 1 deletions

View File

@ -318,7 +318,9 @@ describe('Search', () => {
const specifications = getUploadZipSpecification([uploadPath], root)
expect(specifications.length).toEqual(1)
expect(specifications[0].sourcePath).toEqual(uploadPath)
expect(specifications[0].destinationPath).toEqual('/upload-dir/symlink.txt')
expect(specifications[0].destinationPath).toEqual(
path.join('upload-dir', 'symlink.txt')
)
expect(specifications[0].stats.isSymbolicLink()).toBe(true)
})
})