From b6928faf449186a15a192da55a7a894c62796d8d Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 21 Dec 2022 14:11:33 -0700 Subject: [PATCH] refactor: modify assertion for proxy --- test/e2e/routes.test.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/test/e2e/routes.test.ts b/test/e2e/routes.test.ts index 056b2d3b2..ac2829d34 100644 --- a/test/e2e/routes.test.ts +++ b/test/e2e/routes.test.ts @@ -15,17 +15,13 @@ describe("VS Code Routes", ["--disable-workspace-trust"], {}, async () => { // Check there were no redirections const url = new URL(codeServerPage.page.url()) - let expected = route if (process.env.USE_PROXY === "1") { - // TODO@jsjoeio if running behind proxy - // we need to modify expected value - // instead of / it should be //ide - expected = "something else " - // could also modify left side and stripe //ide... - // in url.pathname - + // Behind proxy, path will be /