mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -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:
parent
cb74975ab2
commit
1e0c9b8c5b
1 changed files with 14 additions and 10 deletions
|
@ -4,15 +4,19 @@ import { assertEquals, loadTestLibrary } from "./common.js";
|
||||||
|
|
||||||
const uv = loadTestLibrary();
|
const uv = loadTestLibrary();
|
||||||
|
|
||||||
Deno.test("napi uv async", async () => {
|
Deno.test({
|
||||||
let called = false;
|
name: "napi uv async",
|
||||||
await new Promise((resolve) => {
|
ignore: true,
|
||||||
uv.test_uv_async((value) => {
|
fn: async () => {
|
||||||
called = true;
|
let called = false;
|
||||||
if (value === 5) {
|
await new Promise((resolve) => {
|
||||||
resolve();
|
uv.test_uv_async((value) => {
|
||||||
}
|
called = true;
|
||||||
|
if (value === 5) {
|
||||||
|
resolve();
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
assertEquals(called, true);
|
||||||
assertEquals(called, true);
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue