Skip to content

Commit

Permalink
refactor: explicit globals
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke committed Jun 12, 2024
1 parent 8e9982a commit ef7f2d3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cucumber-runner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { spawn } from 'node:child_process';
import * as path from 'node:path';
import { setTimeout } from 'node:timers';
import { prepareNpmEnv, preExec } from 'sauce-testrunner-utils';

import type { CucumberRunnerConfig } from './types';
Expand Down
1 change: 1 addition & 0 deletions src/playwright-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { spawn } from 'node:child_process';
import * as path from 'node:path';
import * as fs from 'node:fs';
import { setTimeout } from 'node:timers';

import _ from 'lodash';
import {
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/cloud/cucumber/features/support/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { Before, When, Then } = require('@cucumber/cucumber');
const { chromium, firefox, webkit } = require('playwright');
const { expect } = require('@playwright/test');
const prettySeconds = require('pretty-seconds');
const { setTimeout } = require('node:timers');

Before(async function () {
const opts = {
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/local/cucumber/features/support/steps.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { Before, When, Then } = require('@cucumber/cucumber');
const { chromium, firefox, webkit } = require('playwright');
const { setTimeout } = require('node:timers');

Before(async function () {
const opts = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { Before, When, Then } = require('@cucumber/cucumber');
const { chromium, firefox, webkit } = require('playwright');
const { expect } = require('@playwright/test');
const prettySeconds = require('pretty-seconds');
const { setTimeout } = require('node:timers');

Before(async function () {
const opts = {
Expand Down

0 comments on commit ef7f2d3

Please sign in to comment.