From 412ef61cd89a86323f914f4ff2f7c5246583f671 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Aug 2014 15:57:25 -0700 Subject: [PATCH] Baseline sourcemap record from rwc runner --- src/harness/rwcRunner.ts | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {