1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-20 11:46:22 +02:00

Remove platform-specific test code

This commit is contained in:
Ethan Dennis 2020-03-18 18:05:06 -07:00
parent bc1250c6eb
commit b862af881e
No known key found for this signature in database
GPG key ID: 32E74B75DB4065DD

View file

@ -350,9 +350,8 @@ test("unlinkFile unlinks file", async () => {
await actionUtils.unlinkFile(testFile); await actionUtils.unlinkFile(testFile);
await expect(fs.stat(testFile)).rejects.toThrow( // This should throw as testFile should not exist
`ENOENT: no such file or directory, stat '${testFile}'` await expect(fs.stat(testFile)).rejects.toThrow();
);
await fs.rmdir(testDirectory); await fs.rmdir(testDirectory);
}); });