Skip to content

Commit 3abae9d

Browse files
committed
use yarn run --silent
1 parent f160032 commit 3abae9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests/extras.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ describe(`Extra Tests`, () => {
3636

3737
describe(`ts-node register script`, () => {
3838
test(`Works with --transpileOnly`, () => {
39-
const res = execSync("yarn run ts-node --transpileOnly src/index.ts", { cwd: projectRoot }).toString();
39+
const res = execSync("yarn run --silent ts-node --transpileOnly src/index.ts", { cwd: projectRoot }).toString();
4040
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/m);
4141
});
4242

4343
test(`Works with --typeCheck`, () => {
44-
const res = execSync("yarn run ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
44+
const res = execSync("yarn run --silent ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
4545
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/);
4646
});
4747
});

0 commit comments

Comments
 (0)