Skip to content

Commit 55adacc

Browse files
committed
chore: remove unneeded console log calls from test
1 parent a5e89de commit 55adacc

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/rules/__tests__/detectJestVersion.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const runNodeScript = (cwd: string, script: string) => {
2525
};
2626

2727
const runDetectJestVersion = (cwd: string) => {
28-
const out = runNodeScript(
28+
return runNodeScript(
2929
cwd,
3030
`
3131
try {
@@ -35,12 +35,6 @@ const runDetectJestVersion = (cwd: string) => {
3535
}
3636
`,
3737
);
38-
39-
console.log('status:', out.status);
40-
console.log('stdout:', out.stdout);
41-
console.log('stderr:', out.stderr);
42-
43-
return out;
4438
};
4539

4640
/**

0 commit comments

Comments
 (0)