Skip to content

Commit

Permalink
chore: remove unneeded console log calls from test
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Sep 22, 2021
1 parent a5e89de commit e4e8048
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/rules/__tests__/detectJestVersion.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { JSONSchemaForNPMPackageJsonFiles } from '@schemastore/package';
import { spawnSync } from 'child_process';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import { JSONSchemaForNPMPackageJsonFiles } from '@schemastore/package';
import { create } from 'ts-node';
import { detectJestVersion } from '../detectJestVersion';

Expand All @@ -25,7 +25,7 @@ const runNodeScript = (cwd: string, script: string) => {
};

const runDetectJestVersion = (cwd: string) => {
const out = runNodeScript(
return runNodeScript(
cwd,
`
try {
Expand All @@ -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;
};

/**
Expand Down

0 comments on commit e4e8048

Please sign in to comment.