diff options
author | 2023-09-06 03:35:41 +0800 | |
---|---|---|
committer | 2023-09-05 14:35:41 -0500 | |
commit | 837ad164918c433526ffb47dc58c8f552a9c4de9 (patch) | |
tree | 8b55d3c5b0d51cc79159b84461559782c4ae2616 /packages/integrations/cloudflare/test/with-solid-js.test.js | |
parent | 8935b3b4672d6c54c7b79e6c4575298f75eeb9f4 (diff) | |
download | astro-837ad164918c433526ffb47dc58c8f552a9c4de9.tar.gz astro-837ad164918c433526ffb47dc58c8f552a9c4de9.tar.zst astro-837ad164918c433526ffb47dc58c8f552a9c4de9.zip |
Skip cloudflare CLI tests if fail to start (#8417)
* Skip cloudflare CLI tests if fail to start
* Fix port
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/cloudflare/test/with-solid-js.test.js')
-rw-r--r-- | packages/integrations/cloudflare/test/with-solid-js.test.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/integrations/cloudflare/test/with-solid-js.test.js b/packages/integrations/cloudflare/test/with-solid-js.test.js index c091d04b3..c644163b0 100644 --- a/packages/integrations/cloudflare/test/with-solid-js.test.js +++ b/packages/integrations/cloudflare/test/with-solid-js.test.js @@ -8,14 +8,18 @@ describe('With SolidJS', () => { /** @type {import('./test-utils').WranglerCLI} */ let cli; - before(async () => { + before(async function () { fixture = await loadFixture({ root: './fixtures/with-solid-js/', }); await fixture.build(); cli = await runCLI('./fixtures/with-solid-js/', { silent: true, port: 8790 }); - await cli.ready; + await cli.ready.catch((e) => { + console.log(e); + // if fail to start, skip for now as it's very flaky + this.skip(); + }); }); after(async () => { |