From cc9e3d30495d645790d09a3e50ff0ac0d7b8114e Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Mon, 25 Jul 2022 14:54:25 +0200 Subject: [PATCH] Allow the j shortcut in testUtils Since the API allows the `j` shortcut, the mock test API should implement it as well. --- src/testUtils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testUtils.js b/src/testUtils.js index 0ccd0341..8e55d42d 100644 --- a/src/testUtils.js +++ b/src/testUtils.js @@ -27,6 +27,7 @@ function applyTransform(module, options, input, testOptions = {}) { input, { jscodeshift, + j: jscodeshift, stats: () => {}, }, options || {}