import cli methods

pull/353/head
Frostebite 2022-04-08 20:27:38 +01:00
parent 66ff910f2f
commit 4b948a6cbf
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ describe('Cloud Runner Caching', () => {
`${CLI.options.cacheKey}.zip`,
);
await CloudRunnerSystem.Run(`ls ${__dirname}`);
await CloudRunnerSystem.Run(`ls ${testFolder}`);
await CloudRunnerSystem.Run(`ls ${cacheFolder}`);
// compare validity to original hash
expect(fs.readFileSync(path.resolve(testFolder, 'test.txt'))).toContain(CLI.options.cacheKey);
fs.rmdirSync(testFolder, { recursive: true });