mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 22:59:07 +08:00
fix assertion
This commit is contained in:
parent
d6694e491d
commit
8551843690
@ -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)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user