Skip to content

Commit 776facd

Browse files
committed
run with dist:false so the test properly verified the cache is used
1 parent b4b9869 commit 776facd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ it('uses cache on second run and exist cleanly', async () => {
168168
repoRoot: MOCK_REPO_DIR,
169169
pluginScanDirs: [Path.resolve(MOCK_REPO_DIR, 'plugins')],
170170
maxWorkerCount: 1,
171-
dist: true,
171+
dist: false,
172172
});
173173

174174
const msgs = await runOptimizer(config)
@@ -189,10 +189,6 @@ it('uses cache on second run and exist cleanly', async () => {
189189
"initializing",
190190
"initializing",
191191
"initialized",
192-
"initialized",
193-
"running",
194-
"running",
195-
"running",
196192
"success",
197193
]
198194
`);

0 commit comments

Comments
 (0)