Skip to content

Commit

Permalink
Fix var definition
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Sep 29, 2023
1 parent f4cd8ee commit 6ac5d5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/e2e-tests/src/config/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ import {
clearLocalStorage,
} from '@web-stories-wp/e2e-test-utils';

/**
* Environment variables
*/
const { PUPPETEER_TIMEOUT, EXPECT_PUPPETEER_TIMEOUT } = process.env;

// The Jest timeout is increased because these tests are a bit slow
jest.setTimeout(PUPPETEER_TIMEOUT || 100000);

Expand All @@ -37,11 +42,6 @@ expect.extend({

expect.extend(matchers);

/**
* Environment variables
*/
const { PUPPETEER_TIMEOUT, EXPECT_PUPPETEER_TIMEOUT } = process.env;

/**
* Set of console logging types observed to protect against unexpected yet
* handled (i.e. not catastrophic) errors or warnings. Each key corresponds
Expand Down

0 comments on commit 6ac5d5f

Please sign in to comment.