Skip to content

Commit

Permalink
Merge pull request #1610 from princjef/typings-no-emit
Browse files Browse the repository at this point in the history
Stop typescript from emitting output files in typings test
  • Loading branch information
Tyriar committed Aug 11, 2018
2 parents 86800d2 + 14d7536 commit 49cf1a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion fixtures/typings-test/tsconfig.json
Expand Up @@ -4,6 +4,7 @@
],
"compilerOptions": {
"module": "commonjs",
"target": "es5"
"target": "es5",
"noEmit": true
}
}
2 changes: 0 additions & 2 deletions src/Terminal.integration.ts
Expand Up @@ -163,7 +163,5 @@ describe('typings', () => {
const fixtureDir = path.join(__dirname, '..', 'fixtures', 'typings-test');
const result = cp.spawnSync(tsc, { cwd: fixtureDir });
assert.equal(result.status, 0, `build did not succeed:\nstdout: ${result.stdout.toString()}\nstderr: ${result.stderr.toString()}\n`);
// Clean up
fs.unlinkSync(path.join(fixtureDir, 'typings-test.js'));
});
});

0 comments on commit 49cf1a2

Please sign in to comment.