diff --git a/src/harness/rwcRunner.ts b/src/harness/rwcRunner.ts index 9e06808550e..1993144cb47 100644 --- a/src/harness/rwcRunner.ts +++ b/src/harness/rwcRunner.ts @@ -138,6 +138,14 @@ module RWC { }, false, baselineOpts); }); + it('has correct source map record', () => { + if (compilerResult.sourceMapRecord) { + Harness.Baseline.runBaseline('has correct source map record', baseName + '.sourcemap.txt', () => { + return compilerResult.sourceMapRecord; + }, false, baselineOpts); + } + }); + it('has the expected errors', () => { Harness.Baseline.runBaseline('has the expected errors', baseName + '.errors.txt', () => { if (compilerResult.errors.length === 0) {