Skip to content

Commit

Permalink
Actually apply changes from software-mansion#4046 (software-mansion#4190
Browse files Browse the repository at this point in the history
)

## Summary

This PR fixes failing TypeScript CI on main branch after merging software-mansion#4096.

In particular, this PR actually applies the changes from software-mansion#4046 (which
most likely were skipped due to improper git conflict resolution),
including `global.Error` fix and removing duplicate `Date` entry, as
well as updates one snapshot which for some reason was left out.

## Test plan

Just see if the CI is green.
  • Loading branch information
tomekzaw authored and fluiddot committed Jun 5, 2023
1 parent bc9d890 commit bf74087
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions __tests__/__snapshots__/plugin.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ var _worklet_16974800582491_init_data = {
location: \\"${ process.cwd() }/jest tests fixture\\"
};
var foo = function () {
var _e = [new Error(), 1, -20];
var _e = [new global.Error(), 1, -27];
var _f = function _f(x) {
var bar = function () {
var _e = [new Error(), 1, -20];
var _e = [new global.Error(), 1, -27];
var _f = function _f(x) {
return x + 2;
};
Expand Down
5 changes: 2 additions & 3 deletions plugin/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf74087

Please sign in to comment.