Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

test(api): add headroom for v1 JSON prompt snips (#3924)

Gergő Móriczf817a5ce4cf4
diff --git a/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts b/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts
index 4afd5502f..fa203c3de 100644
--- a/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts
+++ b/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts
@@ -83,7 +83,7 @@ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(
expect(response.json).toBeUndefined();
expect(response.extract.mainHeading).toBeDefined();
},
- scrapeTimeout,
+ scrapeTimeout * 2,
);
});
@@ -150,7 +150,7 @@ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(
expect(response.extract).toBeUndefined();
expect(response.json.mainHeading).toBeDefined();
},
- scrapeTimeout,
+ scrapeTimeout * 2,
);
});