From 5f561c6b99f9cda7bee05dec6e2f5297b18c310e Mon Sep 17 00:00:00 2001 From: lemusthelroy Date: Tue, 9 Apr 2024 13:24:34 +0100 Subject: [PATCH] chore: ensure tests requiring netlify account are skipped (#6487) Co-authored-by: Lewis Thorley --- tests/integration/commands/dev/serve.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/commands/dev/serve.test.ts b/tests/integration/commands/dev/serve.test.ts index 947b666d3f1..ef2976a15d8 100644 --- a/tests/integration/commands/dev/serve.test.ts +++ b/tests/integration/commands/dev/serve.test.ts @@ -11,7 +11,7 @@ setupFixtureTests('plugin-changing-publish-dir', { devServer: { serve: true } }, }) }) -test('ntl serve should upload file-based blobs', async (t) => { +test.skipIf(process.env.NETLIFY_TEST_DISABLE_LIVE === 'true')('ntl serve should upload file-based blobs', async (t) => { await withSiteBuilder(t, async (builder) => { await builder .withNetlifyToml({