From 6283a16f31965ceff363ee89b0b562f74b81929c Mon Sep 17 00:00:00 2001 From: Aliaksei Sapach Date: Thu, 2 Nov 2023 15:17:17 +0100 Subject: [PATCH] fix tests --- __tests__/__snapshots__/index.js.snap | 6 ------ 1 file changed, 6 deletions(-) diff --git a/__tests__/__snapshots__/index.js.snap b/__tests__/__snapshots__/index.js.snap index 956b357..899ebf2 100644 --- a/__tests__/__snapshots__/index.js.snap +++ b/__tests__/__snapshots__/index.js.snap @@ -11,13 +11,10 @@ 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; }();" `; @@ -25,13 +22,10 @@ exports[`transforms require.context() call 1`] = ` exports[`transforms require.context() result 1`] = ` "var modules = requireAll(function () { function req() {} - req.keys = function () { return []; }; - req.resolve = function () {}; - return req; }());" `;