Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asapach committed Nov 2, 2023
1 parent 4fe196f commit 6283a16
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions __tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,21 @@ exports[`doesn't transform require.context property 1`] = `"const context = requ
exports[`transforms require.context() call 1`] = `
"const context = function () {
function req() {}
req.keys = function () {
return [];
};
req.resolve = function () {};
return req;
}();"
`;

exports[`transforms require.context() result 1`] = `
"var modules = requireAll(function () {
function req() {}
req.keys = function () {
return [];
};
req.resolve = function () {};
return req;
}());"
`;

0 comments on commit 6283a16

Please sign in to comment.