diff --git a/src/harness/harness.ts b/src/harness/harness.ts index a29eab567cb..87036db292b 100644 --- a/src/harness/harness.ts +++ b/src/harness/harness.ts @@ -600,6 +600,12 @@ module Harness { result.files.forEach(file => { ioHost.writeFile(file.fileName, file.code, false); }); + result.declFilesCode.forEach(file => { + ioHost.writeFile(file.fileName, file.code, false); + }); + result.sourceMaps.forEach(file => { + ioHost.writeFile(file.fileName, file.code, false); + }); }, () => { }, this.compileOptions); } diff --git a/src/harness/rwcRunner.ts b/src/harness/rwcRunner.ts index 3d6c325eea3..b8d25b890e6 100644 --- a/src/harness/rwcRunner.ts +++ b/src/harness/rwcRunner.ts @@ -189,14 +189,12 @@ module RWC { }, false, baselineOpts); }); - /* it('has the expected source maps', () => { Harness.Baseline.runBaseline('has the expected source maps', baseName + '.map', () => { var result = collateOutputs(emitterIOHost, fn => fn.substr(fn.length - '.map'.length) === '.map'); return result.length > 0 ? result : null; }, false, baselineOpts); }); - */ it('has the expected errors', () => { Harness.Baseline.runBaseline('has the expected errors', baseName + '.errors.txt', () => {