Closed hosseinmd closed 3 weeks ago
Latest commit: 664377e96975de5a315d4288373a6374ed185f66
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Thank you for your contribution @hosseinmd 👏🎉
Summary
https://github.com/callstack/repack/issues/770
The root cause was where cache is saving, script Resolver should not save the cache, it should be saved after script loaded successfully.
Test plan
I added a test for failing scenario which expected to The failed script doesn't save on cache and also if scriptLoader called again, expected in second time fetch property should be true too.