diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml index e458c88..9b2f4a6 100644 --- a/.github/linters/.markdown-lint.yml +++ b/.github/linters/.markdown-lint.yml @@ -6,7 +6,6 @@ MD004: MD013: line_length: 120 - # Ordered list item prefix MD029: style: one diff --git a/__tests__/ping.test.ts b/__tests__/ping.test.ts index a82f49e..af20fdc 100644 --- a/__tests__/ping.test.ts +++ b/__tests__/ping.test.ts @@ -18,7 +18,7 @@ describe('Ping urls', () => { 'http://localhost:4002', 'http://localhost:4003' ] - const timeout = 500 // 1sec + const timeout = 1000 // 1sec await expect(async () => ping(urls, timeout)).rejects.toThrow( 'Failed to wait on the requested resources' @@ -28,7 +28,7 @@ describe('Ping urls', () => { it('Try to ping available urls with 404 status code', async () => { const urls = ['https://atomica.ai', 'https://auth.courier.atomica.ai'] - const timeout = 500 // 1sec + const timeout = 1000 // 1sec await expect(async () => ping(urls, timeout, 404)).rejects.toThrow( 'Failed to wait on the requested resources' @@ -38,14 +38,14 @@ describe('Ping urls', () => { it('Try to ping available urls with 200 status code, and not secure', async () => { const urls = ['https://atomica.ai', 'https://auth.courier.atomica.ai'] - const timeout = 500 // 1sec + const timeout = 1000 // 1sec await expect(ping(urls, timeout, 200, false)).resolves.not.toThrow() }) it('Try to ping available url with 200 status code,scure, no logs', async () => { const urls = ['https://atomica.ai'] - const timeout = 500 // 1sec + const timeout = 1000 // 1sec await expect(ping(urls, timeout, 200, true, false)).resolves.not.toThrow() })