Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd behavior with username package in testing #163

Open
ben-polinsky opened this issue Apr 25, 2023 · 0 comments
Open

Odd behavior with username package in testing #163

ben-polinsky opened this issue Apr 25, 2023 · 0 comments
Labels
electron Related to the desktop/electron authorization good first issue Good for newcomers

Comments

@ben-polinsky
Copy link
Collaborator

ben-polinsky commented Apr 25, 2023

When attempting to import a module which imports the username package in a playwright test, the default import is undefined resulting in: TypeError: OperatingSystemUserName is not a function

The latest version of the package defines a better API, but it only exports ESM, so we'll have to see how that would work.

@ben-polinsky ben-polinsky added good first issue Good for newcomers electron Related to the desktop/electron authorization labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron Related to the desktop/electron authorization good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant