Skip to content

Commit

Permalink
patch(vest): reduce result cache size to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Mar 28, 2022
1 parent 6446c19 commit 4d84352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vest/src/core/suite/produce/produceSuiteResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { hasErrorsByGroup, hasWarningsByGroup } from 'hasFailuresByGroup';
import { isValid } from 'isValid';
import { useStateRef, useTestsFlat, useSuiteName } from 'stateHooks';

const cache = createCache(20);
const cache = createCache(1);

export function produceSuiteResult(): SuiteResult {
const testObjects = useTestsFlat();
Expand Down

0 comments on commit 4d84352

Please sign in to comment.