From b0b27c43100bf4a7303174b9765c853d2f76f207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 19 Mar 2020 10:58:12 +0100 Subject: refactor: rename Deno.TestDefinition.skip to ignore (#4400) --- std/examples/chat/server_test.ts | 6 +++--- std/examples/tests/curl_test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'std/examples') diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index 8004055a4..899eb1b32 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -27,10 +27,10 @@ async function startServer(): Promise { } // TODO: https://github.com/denoland/deno/issues/4108 -const skip = build.os == "win"; +const ignore = build.os == "win"; test({ - skip, + ignore, name: "GET / should serve html", async fn() { const server = await startServer(); @@ -49,7 +49,7 @@ test({ }); test({ - skip, + ignore, name: "GET /ws should upgrade conn to ws", async fn() { const server = await startServer(); diff --git a/std/examples/tests/curl_test.ts b/std/examples/tests/curl_test.ts index 593e5b8f7..bc413b23f 100644 --- a/std/examples/tests/curl_test.ts +++ b/std/examples/tests/curl_test.ts @@ -6,7 +6,7 @@ Deno.test({ name: "[examples/curl] send a request to a specified url", // FIXME(bartlomieju): this test is leaking both resources and ops, // and causes interference with other tests - skip: true, + ignore: true, fn: async () => { const server = serve({ port: 8081 }); (async (): Promise => { -- cgit v1.2.3