import cli methods

pull/353/head
Frostebite 2022-04-08 21:22:33 +01:00
parent f3377ec5e1
commit 92e0a3d279
1 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@ describe('Cloud Runner Caching', () => {
testFolder.replace(/\\/g, `/`),
`${CLI.options.cacheKey}`,
);
await CloudRunnerSystem.Run(`ls ${__dirname}`);
await CloudRunnerSystem.Run(`ls ${testFolder}`);
await CloudRunnerSystem.Run(`ls ${cacheFolder}`);
await CloudRunnerSystem.Run(`du -h ${__dirname}`);
await CloudRunnerSystem.Run(`tree ${testFolder}`);
await CloudRunnerSystem.Run(`tree ${cacheFolder}`);
// compare validity to original hash
expect(fs.readFileSync(path.resolve(testFolder, 'test.txt'))).toContain(CLI.options.cacheKey);
fs.rmdirSync(testFolder, { recursive: true });