1
0
Fork 0
mirror of https://github.com/actions/toolkit.git synced 2025-06-11 02:13:35 +09:00

fix assertion

This commit is contained in:
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

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)
})
})