chore(tooling): remove wdio-mocha-framework dependency due to node 12 error #1570
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Description
Seeing a build issue with Node 12
Seems to be caused by the wdio-mocha-framework dependency. It relies on wdio-sync which relies on fibers. The fibers dependency has a known issue with Node 12. That has been addressed in the latest version (4.0.1).
But it seems unlikely the wdio-mocha-framework project will be updated to consume it as it has been archived on github. Scanning through the packages directory I can see no references to wdio-mocha-framework.
In the history the last update of this dependency was 3 months ago by @taymoork2. Before that the dependency was introduced 3 years ago.
From, a very brief, look it seems this dependency is not used. However I'm not super confident about that. Hoping the PR tests will flush out any actual dependencies that I missed.
Update: It seems my local build was not very reliable. It had failed to compile mmmagic and did not complain about it until I ran some service tests. Upgraded the version of mmmagic to resolve the issue with a fresh
npm install
. Errors I was getting beforeFixes # (issue)
Type of Change
Please delete options that are not relevant.
Test Coverage
I ran a local build with Node v12.16.0.
Checklist: