mirror of
https://github.com/Drop-OSS/droplet.git
synced 2025-11-10 04:22:16 +10:00
fix: tests
This commit is contained in:
@ -16,8 +16,8 @@ test("check alt thread util", async (t) => {
|
||||
endtime2 = Date.now();
|
||||
|
||||
const difference = endtime2 - endtime1;
|
||||
if (difference > 500 || difference < 300) {
|
||||
t.fail("timing is not close enough: " + difference);
|
||||
if (difference >= 600) {
|
||||
t.fail("likely isn't multithreaded, difference: " + difference);
|
||||
}
|
||||
|
||||
t.pass();
|
||||
|
||||
Reference in New Issue
Block a user