-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: ensure browser compatibility #150
Conversation
Codecov Report
@@ Coverage Diff @@
## main #150 +/- ##
=======================================
Coverage 99.31% 99.31%
=======================================
Files 56 56
Lines 3230 3230
Branches 801 801
=======================================
Hits 3208 3208
Misses 13 13
Partials 9 9 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see
- A browser test using vitest jsdom.
-
A test for which new directory is created, a fresh node_modules is installed with only shapeshift and then an assert test is ran similar to the one deleted. Add a dependency which is a relative path to a .tgz file which is created with yarn pack in the pipeline. Then run yarn install in that directory and run the test file. Run this locally to make sure no node_modes from the root directory are loaded, I.e. by deleting it and then installing in the subdirectory. The test has to test both CJS and ESM so use .cjs and .mjs file extensions.
for the 2nd point, I've removed bundling for cjs and mjs. Now it only bundles |
finally green ci 😄 |
No more need indeed because their compatibility now gets covered again by vitest. |
No description provided.