Closed steveluscher closed 2 years ago
Hey @ianstormtaylor, do you have a moment to smash this in and do a release? I'd like to release and announce the Solana React Native SDK but this is the last thing preventing me from giving people a good ‘Quick Start’ experience without extra configuration.
Pretty please? I really want to be able to remove this patch as a line in my Getting Started README :)
Why does this also change the test setup and all the tests?
I made this PR so long ago that the only thing I remember about the changes to the test system is what I wrote in the PR summary itself.
Hey @steveluscher, very sorry for the delay here. Thank you for putting this together, and makes sense to test directly from source.
Sorry I should have looked more closely, but I've reverted this change. This is an upstream issue (.cjs
and .mjs
files should be recognized by Metro) and it looks like it has been fixed upstream.
Haha. True. Since I made this change, Metro got its shit together. Thanks anyway!
Fixes #1085. Read more about the problem statement there.
Summary of changes:
cjs
bundle caused the entire test system to fall apart. The one I put in place is faster, and unlocks watch mode (yarn test --watch
)cjs.js