diff --git a/src/tests/utils/random.ts b/src/tests/utils/random.ts index 393fe6b..0cd0963 100644 --- a/src/tests/utils/random.ts +++ b/src/tests/utils/random.ts @@ -22,6 +22,12 @@ function runReorder(...fs: (() => void)[]) { } } +function runReorderDebug(order: number[], ...fs: (() => void)[]) { + for (const index of order) { + fs[index](); + } +} + function randomInt(n: number) { return Math.floor(Math.random() * n); }