Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
test: update CLI test suite
jamesgeorge007052dc1708c7a
diff --git a/packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts b/packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.tsindex 71a2ce91d..c37efa480 100644--- a/packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts+++ b/packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts@@ -204,7 +204,7 @@ describe("hopp test [options] <file_path_or_id>", { timeout: 100000 }, () => {});const every500msCount = (stdout.match(/Every 500ms/g) || []).length;- expect(every500msCount).toBe(3);+ expect(every500msCount).toBeGreaterThanOrEqual(3);});test("Fails to display console logs and recognize platform APIs in the legacy scripting sandbox", async () => {diff --git a/packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/digest-auth-envs.json b/packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/digest-auth-envs.jsonindex eb1c2aea5..63e13d5a2 100644--- a/packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/digest-auth-envs.json+++ b/packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/digest-auth-envs.json@@ -18,7 +18,8 @@{"key": "url","currentValue": "",- "initialValue": "https://test.insightres.org/digest/"+ "initialValue": "https://test.insightres.org/digest/",+ "secret": false}]}