Skip to content

Commit

Permalink
chore(cli): increase chance of running post-test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 22, 2022
1 parent 2134b27 commit f138723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/cli/test/shared/globalTeardown.ts
Expand Up @@ -26,7 +26,7 @@ export default async function globalTeardown(): Promise<void> {

// 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()
}
}
Expand Down

1 comment on commit f138723

@vercel
Copy link

@vercel vercel bot commented on f138723 Dec 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

Please sign in to comment.