detect_flake 0.5.5

Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky
1
2
3
4
5
6
7
#!/usr/bin/env node

const n = Math.random();

if (n < 0.2) {
  throw new Error(n);
}