From 55adaccd233bb7584ec4ad59d4c745dcd754476e Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Thu, 23 Sep 2021 07:27:22 +1200 Subject: [PATCH] chore: remove unneeded console log calls from test --- src/rules/__tests__/detectJestVersion.test.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/rules/__tests__/detectJestVersion.test.ts b/src/rules/__tests__/detectJestVersion.test.ts index b5c6b4da4..3d58200a4 100644 --- a/src/rules/__tests__/detectJestVersion.test.ts +++ b/src/rules/__tests__/detectJestVersion.test.ts @@ -25,7 +25,7 @@ const runNodeScript = (cwd: string, script: string) => { }; const runDetectJestVersion = (cwd: string) => { - const out = runNodeScript( + return runNodeScript( cwd, ` try { @@ -35,12 +35,6 @@ const runDetectJestVersion = (cwd: string) => { } `, ); - - console.log('status:', out.status); - console.log('stdout:', out.stdout); - console.log('stderr:', out.stderr); - - return out; }; /**