Skip to content

Commit

Permalink
Allow the j shortcut in testUtils
Browse files Browse the repository at this point in the history
Since the API allows the `j` shortcut, the mock test API should implement it as well.
  • Loading branch information
no23reason authored and Daniel15 committed Jul 25, 2022
1 parent 514f8c3 commit cc9e3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/testUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function applyTransform(module, options, input, testOptions = {}) {
input,
{
jscodeshift,
j: jscodeshift,
stats: () => {},
},
options || {}
Expand Down

0 comments on commit cc9e3d3

Please sign in to comment.