lint
This commit is contained in:
1 parent
2b41bccf5b
commit
c8709a8e12
1 file changed
+2
-2
@@ -223,8 +223,8 @@ describe('download-artifact', () => {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// ensure path traversal was not possible
|
// ensure path traversal was not possible
|
||||||
expect(fs.existsSync(path.join(fixtures.workspaceDir, 'x/etc/hosts'))).toBe(true);
|
expect(fs.existsSync(path.join(fixtures.workspaceDir, 'x/etc/hosts'))).toBe(true)
|
||||||
expect(fs.existsSync(path.join(fixtures.workspaceDir, 'y/etc/hosts'))).toBe(true);
|
expect(fs.existsSync(path.join(fixtures.workspaceDir, 'y/etc/hosts'))).toBe(true)
|
||||||
|
|
||||||
expect(response.downloadPath).toBe(fixtures.workspaceDir)
|
expect(response.downloadPath).toBe(fixtures.workspaceDir)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user