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();
|
||||
|
||||
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);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue