Skip to content

Commit

Permalink
fix: import process instead of reading from the global variable
Browse files Browse the repository at this point in the history
Fixes #195 (comment)

In the long run we need to add https://github.com/playwright-community/eslint-plugin-playwright/
to the playwright setup too.
  • Loading branch information
haoqunjiang committed Dec 28, 2023
1 parent aae99c7 commit f280b26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/config/playwright/playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { defineConfig, devices } from '@playwright/test'

/**
Expand Down

2 comments on commit f280b26

@Yordan-Ramchev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the long run we need to add https://github.com/playwright-community/eslint-plugin-playwright/
to the playwright setup too.

@sodatea do you need assistance with that?

@haoqunjiang
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, any help would be appreciated.

Please sign in to comment.