diff --git a/apps/server/src/providers/dropbox/tests/integration.test.ts b/apps/server/src/providers/dropbox/tests/integration.test.ts index e93a4ba2..4b6755d0 100644 --- a/apps/server/src/providers/dropbox/tests/integration.test.ts +++ b/apps/server/src/providers/dropbox/tests/integration.test.ts @@ -3,11 +3,9 @@ import { DropboxProvider } from "../dropbox-provider"; // Integration tests require real Dropbox credentials // Tests will be automatically skipped if DROPBOX_TEST_ACCESS_TOKEN is not set -const testAccessToken = process.env.DROPBOX_TEST_ACCESS_TOKEN; +console.log("Running integration tests if DROPBOX_TEST_ACCESS_TOKEN is set"); -if (testAccessToken) { - console.log("Running integration tests if DROPBOX_TEST_ACCESS_TOKEN is set"); -} +const testAccessToken = process.env.DROPBOX_TEST_ACCESS_TOKEN; (testAccessToken ? describe : describe.skip)("DropboxProvider Integration Tests", () => { let provider: DropboxProvider;