mirror of https://github.com/actions/cache.git
Remove platform-specific test code
This commit is contained in:
parent
bc1250c6eb
commit
b862af881e
|
@ -350,9 +350,8 @@ test("unlinkFile unlinks file", async () => {
|
|||
|
||||
await actionUtils.unlinkFile(testFile);
|
||||
|
||||
await expect(fs.stat(testFile)).rejects.toThrow(
|
||||
`ENOENT: no such file or directory, stat '${testFile}'`
|
||||
);
|
||||
// This should throw as testFile should not exist
|
||||
await expect(fs.stat(testFile)).rejects.toThrow();
|
||||
|
||||
await fs.rmdir(testDirectory);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue