import cli methods
parent
66ff910f2f
commit
4b948a6cbf
|
|
@ -49,6 +49,8 @@ describe('Cloud Runner Caching', () => {
|
||||||
`${CLI.options.cacheKey}.zip`,
|
`${CLI.options.cacheKey}.zip`,
|
||||||
);
|
);
|
||||||
await CloudRunnerSystem.Run(`ls ${__dirname}`);
|
await CloudRunnerSystem.Run(`ls ${__dirname}`);
|
||||||
|
await CloudRunnerSystem.Run(`ls ${testFolder}`);
|
||||||
|
await CloudRunnerSystem.Run(`ls ${cacheFolder}`);
|
||||||
// compare validity to original hash
|
// compare validity to original hash
|
||||||
expect(fs.readFileSync(path.resolve(testFolder, 'test.txt'))).toContain(CLI.options.cacheKey);
|
expect(fs.readFileSync(path.resolve(testFolder, 'test.txt'))).toContain(CLI.options.cacheKey);
|
||||||
fs.rmdirSync(testFolder, { recursive: true });
|
fs.rmdirSync(testFolder, { recursive: true });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue