@@ -9,11 +9,11 @@ var noop = require( '@stdlib/utils/noop' );
99var readJSON = require ( './../lib/async.js' ) ;
1010
1111
12- // FIXME //
12+ // VARIABLES //
1313
1414// Don't run tests in the browser...for now...
1515var opts = {
16- 'skip' : IS_BROWSER
16+ 'skip' : IS_BROWSER // FIXME
1717} ;
1818
1919
@@ -226,7 +226,7 @@ tape( 'if the function encounters an error when attempting to parse file content
226226} ) ;
227227
228228tape ( 'the function reads a file as JSON' , opts , function test ( t ) {
229- var expected = require ( goodJSON ) ;
229+ var expected = require ( goodJSON ) ; // eslint-disable-line stdlib/no-dynamic-require
230230
231231 readJSON ( goodJSON , onRead ) ;
232232
@@ -240,7 +240,7 @@ tape( 'the function reads a file as JSON', opts, function test( t ) {
240240} ) ;
241241
242242tape ( 'the function reads a file as JSON using provided options (encoding)' , opts , function test ( t ) {
243- var expected = require ( goodJSON ) ;
243+ var expected = require ( goodJSON ) ; // eslint-disable-line stdlib/no-dynamic-require
244244
245245 readJSON ( goodJSON , 'utf8' , onRead ) ;
246246
@@ -254,7 +254,7 @@ tape( 'the function reads a file as JSON using provided options (encoding)', opt
254254} ) ;
255255
256256tape ( 'the function reads a file as JSON using provided options (options object)' , opts , function test ( t ) {
257- var expected = require ( goodJSON ) ;
257+ var expected = require ( goodJSON ) ; // eslint-disable-line stdlib/no-dynamic-require
258258
259259 readJSON ( goodJSON , {
260260 'encoding' : 'utf8'
@@ -270,7 +270,7 @@ tape( 'the function reads a file as JSON using provided options (options object)
270270} ) ;
271271
272272tape ( 'the function supports reading a UTF-8 encoded file having a byte order mark (BOM) as JSON' , opts , function test ( t ) {
273- var expected = require ( goodJSON ) ;
273+ var expected = require ( goodJSON ) ; // eslint-disable-line stdlib/no-dynamic-require
274274
275275 readJSON ( bomJSON , {
276276 'encoding' : 'utf8'
0 commit comments