@mintlify/scraping 4.0.558 → 4.0.565

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,17 +27,14 @@ describe('getAsyncApiDefinition', () => {
27
27
  });
28
28
 
29
29
  it('should fetch yaml AsyncAPI doc from URL', async () => {
30
- const url = new URL(
31
- 'https://raw.githubusercontent.com/asyncapi/spec/refs/heads/master/examples/websocket-gemini-asyncapi.yml'
32
- );
30
+ const url = new URL('https://d4tuoctqmanu0.cloudfront.net/test-fixtures/asyncapi.yaml');
33
31
  const result = await getAsyncApiDefinition(url);
34
32
  expect(result.document).toBeDefined();
35
33
  expect(result.isUrl).toBe(true);
36
34
  });
37
35
 
38
36
  it('should fetch AsyncAPI doc from URL string', async () => {
39
- const url =
40
- 'https://raw.githubusercontent.com/asyncapi/spec/refs/heads/master/examples/websocket-gemini-asyncapi.yml';
37
+ const url = 'https://d4tuoctqmanu0.cloudfront.net/test-fixtures/asyncapi.yaml';
41
38
  const result = await getAsyncApiDefinition(url);
42
39
  expect(result.document).toBeDefined();
43
40
  expect(result.isUrl).toBe(true);