We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f160032 commit 3abae9dCopy full SHA for 3abae9d
test/tests/extras.test.ts
@@ -36,12 +36,12 @@ describe(`Extra Tests`, () => {
36
37
describe(`ts-node register script`, () => {
38
test(`Works with --transpileOnly`, () => {
39
- const res = execSync("yarn run ts-node --transpileOnly src/index.ts", { cwd: projectRoot }).toString();
+ const res = execSync("yarn run --silent ts-node --transpileOnly src/index.ts", { cwd: projectRoot }).toString();
40
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/m);
41
});
42
43
test(`Works with --typeCheck`, () => {
44
- const res = execSync("yarn run ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
+ const res = execSync("yarn run --silent ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
45
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/);
46
47
0 commit comments