summaryrefslogtreecommitdiff
path: root/tests/napi
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-10-02 16:41:58 -0700
committerGitHub <noreply@github.com>2024-10-02 23:41:58 +0000
commit1e0c9b8c5b85c6c18ecdef0374a945b361d6e79d (patch)
treec6fc5103f5a171cfe650a77c1e8f71b9e1c054bc /tests/napi
parentcb74975ab2b88a984c11a9bbb33ff2a36ccb2acb (diff)
chore: disable flaky uv_test.js for now (#26003)
Will re-enable once I figure out the issue
Diffstat (limited to 'tests/napi')
-rw-r--r--tests/napi/uv_test.js24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/napi/uv_test.js b/tests/napi/uv_test.js
index 6d8ee2671..af20b2649 100644
--- a/tests/napi/uv_test.js
+++ b/tests/napi/uv_test.js
@@ -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);
+ },
});