@@ -36,26 +36,24 @@ describe('init-ed source maps', function() {
3636 var uglify = td . object ( [ 'minify' ] ) ;
3737 var logger = td . object ( [ 'logger' ] ) ;
3838
39- td
40- . when (
41- uglify . minify (
42- {
43- 'test1.js' : testContents1Input
44- } ,
45- {
46- output : { } ,
47- sourceMap : {
48- filename : 'test1.js' ,
49- includeSources : true ,
50- content : testFile . sourceMap
51- }
39+ td . when (
40+ uglify . minify (
41+ {
42+ 'test1.js' : testContents1Input
43+ } ,
44+ {
45+ output : { } ,
46+ sourceMap : {
47+ filename : 'test1.js' ,
48+ includeSources : true ,
49+ content : testFile . sourceMap
5250 }
53- )
51+ }
5452 )
55- . thenReturn ( {
56- code : 'foobar' ,
57- map : JSON . stringify ( outMap . map )
58- } ) ;
53+ ) . thenReturn ( {
54+ code : 'foobar' ,
55+ map : JSON . stringify ( outMap . map )
56+ } ) ;
5957
6058 var subject = minify ( uglify , logger ) ( { } ) ;
6159 var file = subject ( testFile ) ;
@@ -99,26 +97,24 @@ describe('init-ed source maps', function() {
9997 var uglify = td . object ( [ 'minify' ] ) ;
10098 var logger = td . object ( [ 'warn' ] ) ;
10199
102- td
103- . when (
104- uglify . minify (
105- {
106- 'test1.js' : String ( inMap )
107- } ,
108- {
109- output : { } ,
110- sourceMap : {
111- filename : 'test1.js' ,
112- includeSources : true ,
113- content : testFile . sourceMap
114- }
100+ td . when (
101+ uglify . minify (
102+ {
103+ 'test1.js' : String ( inMap )
104+ } ,
105+ {
106+ output : { } ,
107+ sourceMap : {
108+ filename : 'test1.js' ,
109+ includeSources : true ,
110+ content : testFile . sourceMap
115111 }
116- )
112+ }
117113 )
118- . thenReturn ( {
119- code : 'send a PR changing this to the best La Croix flavor' ,
120- map : JSON . stringify ( outMap . map )
121- } ) ;
114+ ) . thenReturn ( {
115+ code : 'send a PR changing this to the best La Croix flavor' ,
116+ map : JSON . stringify ( outMap . map )
117+ } ) ;
122118
123119 var subject = minify ( uglify , logger ) ( { } ) ;
124120 var file = subject ( testFile ) ;
0 commit comments