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();
|
endtime2 = Date.now();
|
||||||
|
|
||||||
const difference = endtime2 - endtime1;
|
const difference = endtime2 - endtime1;
|
||||||
if (difference > 500 || difference < 300) {
|
if (difference >= 600) {
|
||||||
t.fail("timing is not close enough: " + difference);
|
t.fail("likely isn't multithreaded, difference: " + difference);
|
||||||
}
|
}
|
||||||
|
|
||||||
t.pass();
|
t.pass();
|
||||||
|
|||||||
Reference in New Issue
Block a user