@@ -45,17 +45,17 @@ describe('Coverage with source maps', async () => {
4545 t . assert . strictEqual ( spawned . code , 1 ) ;
4646 } ) ;
4747
48- await it . only ( 'accounts only mapped lines when --enable-source-maps is provided' , async ( t ) => {
48+ it ( 'accounts only mapped lines when --enable-source-maps is provided' , async ( t ) => {
4949 const report = generateReport ( [
5050 '# --------------------------------------------------------------' ,
5151 '# file | line % | branch % | funcs % | uncovered lines' ,
5252 '# --------------------------------------------------------------' ,
5353 '# a.test.ts | 100.00 | 100.00 | 100.00 | ' , // part of a bundle
5454 '# b.test.ts | 88.89 | 100.00 | 100.00 | 1' , // part of a bundle
5555 '# index.test.js | 71.43 | 66.67 | 100.00 | 6-7' , // no source map
56- '# stdin.test.ts | 85.71 | 100.00 | 0 .00 | 2 ' , // Source map without original file
56+ '# stdin.test.ts | 100.00 | 100.00 | 100 .00 | ' , // Source map without original file
5757 '# --------------------------------------------------------------' ,
58- '# all files | 88.89 | 85.71 | 66.67 | ' ,
58+ '# all files | 91.67 | 87.50 | 100.00 | ' ,
5959 '# --------------------------------------------------------------' ,
6060 ] ) ;
6161
@@ -114,6 +114,7 @@ describe('Coverage with source maps', async () => {
114114 const spawned = await common . spawnPromisified ( process . execPath , [ ...flags , file ] ) ;
115115
116116 const error = `The source map for '${ pathToFileURL ( file ) } ' does not exist or is corrupt` ;
117+
117118 t . assert . strictEqual ( spawned . stderr , '' ) ;
118119 t . assert . ok ( spawned . stdout . includes ( error ) ) ;
119120 t . assert . strictEqual ( spawned . code , 1 ) ;
0 commit comments