From 28de650231dcdbf0d42574ea35289c57bc53b941 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 6 May 2024 22:15:09 -0700 Subject: [PATCH] add a windows todo --- test/js/web/fetch/fetch.tls.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/js/web/fetch/fetch.tls.test.ts b/test/js/web/fetch/fetch.tls.test.ts index 17aa069b32..340bf9e1bf 100644 --- a/test/js/web/fetch/fetch.tls.test.ts +++ b/test/js/web/fetch/fetch.tls.test.ts @@ -1,7 +1,7 @@ import { it, expect } from "bun:test"; import tls from "tls"; import { join } from "node:path"; -import { bunEnv, bunExe } from "harness"; +import { bunEnv, bunExe, isCI, isWindows } from "harness"; type TLSOptions = { cert: string; @@ -82,7 +82,7 @@ it("fetch with valid tls and non-native checkServerIdentity should work", async expect(count).toBe(2); }); -it("fetch with rejectUnauthorized: false should not call checkServerIdentity", async () => { +it.todoIf(isWindows && isCI)("fetch with rejectUnauthorized: false should not call checkServerIdentity", async () => { let count = 0; await fetch("https://bun.sh", {