diff --git a/packages/@sanity/cli/test/shared/globalTeardown.ts b/packages/@sanity/cli/test/shared/globalTeardown.ts index 1d09a9b63de..29d08e83386 100644 --- a/packages/@sanity/cli/test/shared/globalTeardown.ts +++ b/packages/@sanity/cli/test/shared/globalTeardown.ts @@ -26,7 +26,7 @@ export default async function globalTeardown(): Promise { // Very hacky, but good enough for now: // Force a cleanup of dangling entities left over from previous test runs every once in a while - if (Math.random() < 0.3) { + if (Math.random() < 0.7) { await cleanupDangling() } }