diff options
author | 2023-04-10 22:06:59 -0300 | |
---|---|---|
committer | 2023-04-10 22:06:59 -0300 | |
commit | c3088df49fde2bac1fb82b523fef0688718f7327 (patch) | |
tree | 7f80209c004044498570069daa60dd467f919bdd | |
parent | 9029b03ab5aac4f22800310738ada3ebd6d16a34 (diff) | |
download | bun-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.ts | 1 |
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(); |