Merge pull request #1610 from princjef/typings-no-emit

Stop typescript from emitting output files in typings test
This commit is contained in:
Daniel Imms
2018-08-10 19:47:18 -07:00
committed by GitHub
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'));
});
});