We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26fa3a4 commit 1e444dcCopy full SHA for 1e444dc
__tests__/utils/jest-global-setup.ts
@@ -27,6 +27,12 @@ import { spawn } from 'child_process';
27
import { wsEndpoint } from './test-config';
28
29
module.exports = async () => {
30
+ // Unset the SYNTHETICS_API_KEY to ensure it doesn't affect tests
31
+ if (process.env.SYNTHETICS_API_KEY) {
32
+ console.log('Unsetting SYNTHETICS_API_KEY environment variable for tests');
33
+ delete process.env.SYNTHETICS_API_KEY;
34
+ }
35
+
36
if (wsEndpoint) {
37
return new Promise((resolve, reject) => {
38
console.log(`\nRunning BrowserService ${wsEndpoint}`);
0 commit comments