@@ -248,7 +248,7 @@ describe('nyc', function () {
248248 } )
249249
250250 proc . on ( 'close' , function ( ) {
251- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
251+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
252252 return report [ path . join ( fixtures , signal + '.js' ) ]
253253 } )
254254 reports . length . should . equal ( 1 )
@@ -271,7 +271,7 @@ describe('nyc', function () {
271271 nyc . wrap ( )
272272 nyc . reset ( )
273273
274- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
274+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
275275 return report [ './test/fixtures/not-loaded.js' ]
276276 } )
277277 reports . length . should . equal ( 0 )
@@ -308,7 +308,7 @@ describe('nyc', function () {
308308 nyc . addAllFiles ( )
309309
310310 var notLoadedPath = path . join ( fixtures , './not-loaded.js' )
311- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
311+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
312312 return ap ( report ) [ notLoadedPath ]
313313 } )
314314 var report = reports [ 0 ] [ notLoadedPath ]
@@ -327,7 +327,7 @@ describe('nyc', function () {
327327
328328 var notLoadedPath1 = path . join ( cwd , './not-loaded.es6' )
329329 var notLoadedPath2 = path . join ( cwd , './not-loaded.js' )
330- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
330+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
331331 var apr = ap ( report )
332332 return apr [ notLoadedPath1 ] || apr [ notLoadedPath2 ]
333333 } )
@@ -355,7 +355,7 @@ describe('nyc', function () {
355355 nyc . writeCoverageFile ( )
356356
357357 var notLoadedPath = path . join ( fixtures , './not-loaded.js' )
358- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
358+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
359359 return report [ notLoadedPath ]
360360 } )
361361 var report = reports [ 0 ] [ notLoadedPath ]
@@ -379,7 +379,7 @@ describe('nyc', function () {
379379 nyc . addAllFiles ( )
380380
381381 var needsTranspilePath = path . join ( fixtures , './needs-transpile.js' )
382- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
382+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
383383 return ap ( report ) [ needsTranspilePath ]
384384 } )
385385 var report = reports [ 0 ] [ needsTranspilePath ]
@@ -408,7 +408,7 @@ describe('nyc', function () {
408408 nyc . addAllFiles ( )
409409
410410 var needsTranspilePath = path . join ( fixtures , './needs-transpile.whatever' )
411- var reports = _ . filter ( nyc . _loadReports ( ) , function ( report ) {
411+ var reports = _ . filter ( nyc . loadReports ( ) , function ( report ) {
412412 return ap ( report ) [ needsTranspilePath ]
413413 } )
414414 var report = reports [ 0 ] [ needsTranspilePath ]
0 commit comments