From 1585bf7d21e0f0caf816d6129ec0ecb3db2054ef Mon Sep 17 00:00:00 2001 From: e-cloud Date: Wed, 9 Nov 2016 09:09:24 +0800 Subject: [PATCH] test: adjust tests for source-list-map --- source-list-map/source-list-map-tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source-list-map/source-list-map-tests.ts b/source-list-map/source-list-map-tests.ts index 75341740be..5fe932efc5 100644 --- a/source-list-map/source-list-map-tests.ts +++ b/source-list-map/source-list-map-tests.ts @@ -13,9 +13,9 @@ node.mapGeneratedCode(function (code) { }) slm.fromStringWithSourceMap('hello', { - sources: null, - sourcesContent: null, - mappings: null + sources: [node, new slm.CodeNode('hello')], + sourcesContent: ['hi'], + mappings: 'null' }); const snode = new slm.SourceNode('hi', 'i\'am', 'e-cloud');