summaryrefslogtreecommitdiff
path: root/tests/napi/uv_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/napi/uv_test.js')
-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);
+ },
});