Replies: 1 comment 17 replies
-
@qwalley I recommend to mock the |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Seems that vitest/spy does not enjoy being "require"d. Here's a minimal reproduction using the electron boilerplate project.
Environment: Ubuntu 22
Steps:
git clone https://github.com/webdriverio/electron-boilerplate.git
cd electron-boilerplate && npm install && npm run package
NODE_ENV=test ./out/WebdriverIO\ +\ Electron\ Boilerplate-linux-x64/WebdriverIO\ +\ Electron\ Boilerplate
Output:
Beta Was this translation helpful? Give feedback.
All reactions