fixed flaky test

This commit is contained in:
Nate Kelley 2025-09-23 09:32:29 -06:00
parent 78d675d18f
commit 2419a71fce
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { describe, expect, it } from 'vitest'; import { describe, expect, it, test } from 'vitest';
import type { DataPoint } from './downsample'; import type { DataPoint } from './downsample';
import { detectAnomalies, randomSampling, uniformSampling } from './downsample'; import { detectAnomalies, randomSampling, uniformSampling } from './downsample';
@ -233,7 +233,7 @@ describe('randomSampling', () => {
expect(found).toBe(true); expect(found).toBe(true);
}); });
expect(executionTime).toBeLessThan(200); expect(executionTime).toBeLessThan(350);
}); });
}); });