aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-04-10 22:06:59 -0300
committerGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-04-10 22:06:59 -0300
commitc3088df49fde2bac1fb82b523fef0688718f7327 (patch)
tree7f80209c004044498570069daa60dd467f919bdd
parent9029b03ab5aac4f22800310738ada3ebd6d16a34 (diff)
downloadbun-c3088df49fde2bac1fb82b523fef0688718f7327.tar.gz
bun-c3088df49fde2bac1fb82b523fef0688718f7327.tar.zst
bun-c3088df49fde2bac1fb82b523fef0688718f7327.zip
ignore when no http proxy server available on afterAll
-rw-r--r--test/js/bun/http/proxy.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/bun/http/proxy.test.ts b/test/js/bun/http/proxy.test.ts
index f5cfe2478..8951fdd83 100644
--- a/test/js/bun/http/proxy.test.ts
+++ b/test/js/bun/http/proxy.test.ts
@@ -75,6 +75,7 @@ beforeAll(async () => {
});
afterAll(() => {
+ if (!HTTP_PROXY_PATH) return;
server.stop();
proxy.stop();
auth_proxy.stop();