Skip to content

Commit cc9e3d3

Browse files
no23reasonDaniel15
authored andcommitted
Allow the j shortcut in testUtils
Since the API allows the `j` shortcut, the mock test API should implement it as well.
1 parent 514f8c3 commit cc9e3d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/testUtils.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function applyTransform(module, options, input, testOptions = {}) {
2727
input,
2828
{
2929
jscodeshift,
30+
j: jscodeshift,
3031
stats: () => {},
3132
},
3233
options || {}

0 commit comments

Comments
 (0)