test: update CLI test suite

- Flexible assertions avoiding flakiness.
- Update test fixtures conforming to the schema.
This commit is contained in:
jamesgeorge007 2025-05-28 16:43:04 +05:30
parent 82d9367843
commit 052dc1708c
2 changed files with 3 additions and 2 deletions

View file

@ -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 () => {

View file

@ -18,7 +18,8 @@
{
"key": "url",
"currentValue": "",
"initialValue": "https://test.insightres.org/digest/"
"initialValue": "https://test.insightres.org/digest/",
"secret": false
}
]
}