Skip to content

Commit 84a6830

Browse files
committed
test wip
1 parent 13d21c2 commit 84a6830

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/legacy-cli/e2e/tests/build/disk-cache.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default async function () {
1212
// Should be enabled by default.
1313
process.env['CI'] = '0';
1414
await configureAndRunTest();
15+
await expectFileToExist(defaultCachePath);
1516

1617
// Should not write cache when it's disabled
1718
await configureAndRunTest({ enabled: false });
@@ -49,5 +50,8 @@ async function configureAndRunTest(cacheOptions?: {
4950
}),
5051
]);
5152

53+
await expectFileNotToExist(defaultCachePath);
54+
await expectFileNotToExist(overriddenCachePath);
55+
5256
await ng('build');
5357
}

0 commit comments

Comments
 (0)