1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 14:54:47 -05:00

chore: disable flaky uv_test.js for now (#26003)

Will re-enable once I figure out the issue
This commit is contained in:
Nathan Whitaker 2024-10-02 16:41:58 -07:00 committed by GitHub
parent cb74975ab2
commit 1e0c9b8c5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,15 +4,19 @@ import { assertEquals, loadTestLibrary } from "./common.js";
const uv = loadTestLibrary();
Deno.test("napi uv async", async () => {
let called = false;
await new Promise((resolve) => {
uv.test_uv_async((value) => {
called = true;
if (value === 5) {
resolve();
}
Deno.test({
name: "napi uv async",
ignore: true,
fn: async () => {
let called = false;
await new Promise((resolve) => {
uv.test_uv_async((value) => {
called = true;
if (value === 5) {
resolve();
}
});
});
});
assertEquals(called, true);
assertEquals(called, true);
},
});