Stop typescript from emitting output files in typings test

This commit is contained in:
Jeff Principe
2018-08-09 19:44:25 -07:00
parent ff63d3eb23
commit 14d75364eb
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
],
"compilerOptions": {
"module": "commonjs",
"target": "es5"
"target": "es5",
"noEmit": true
}
}
-2
View File
@@ -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'));
});
});