44
55var tape = require ( 'tape' ) ;
66var join = require ( 'path' ) . join ;
7- var isBrowser = require ( '@stdlib/assert/is-browser' ) ;
7+ var IS_BROWSER = require ( '@stdlib/assert/is-browser' ) ;
88var noop = require ( '@stdlib/utils/noop' ) ;
99var readJSON = require ( './../lib/async.js' ) ;
1010
@@ -13,7 +13,7 @@ var readJSON = require( './../lib/async.js' );
1313
1414// Don't run tests in the browser...for now...
1515var opts = {
16- 'skip' : isBrowser
16+ 'skip' : IS_BROWSER
1717} ;
1818
1919
@@ -28,7 +28,7 @@ var bomJSON = join( __dirname, 'fixtures', 'bom.json.txt' );
2828
2929tape ( 'main export is a function' , function test ( t ) {
3030 t . ok ( true , __filename ) ;
31- t . equal ( typeof readJSON , 'function' , 'main export is a function' ) ;
31+ t . strictEqual ( typeof readJSON , 'function' , 'main export is a function' ) ;
3232 t . end ( ) ;
3333} ) ;
3434
@@ -40,8 +40,9 @@ tape( 'the function throws an error if provided an options argument which is nei
4040 5 ,
4141 NaN ,
4242 true ,
43+ false ,
4344 null ,
44- undefined ,
45+ void 0 ,
4546 [ ] ,
4647 function noop ( ) { }
4748 ] ;
@@ -67,8 +68,9 @@ tape( 'the function throws an error if provided a callback argument which is not
6768 5 ,
6869 NaN ,
6970 true ,
71+ false ,
7072 null ,
71- undefined ,
73+ void 0 ,
7274 [ ] ,
7375 { }
7476 ] ;
@@ -94,8 +96,9 @@ tape( 'the function throws an error if provided a callback argument which is not
9496 5 ,
9597 NaN ,
9698 true ,
99+ false ,
97100 null ,
98- undefined ,
101+ void 0 ,
99102 [ ] ,
100103 { }
101104 ] ;
@@ -121,8 +124,9 @@ tape( 'the function throws an error if provided a callback argument which is not
121124 5 ,
122125 NaN ,
123126 true ,
127+ false ,
124128 null ,
125- undefined ,
129+ void 0 ,
126130 [ ] ,
127131 { }
128132 ] ;
0 commit comments