@@ -38,14 +38,16 @@ tape( 'distributable files', function test( t ) {
3838} ) ;
3939
4040tape ( 'project contains a distributable file containing datasets (minified)' , function test ( t ) {
41+ // eslint-disable-next-line stdlib/no-dynamic-require
4142 var bundle = require ( join ( dirpath , 'stdlib-datasets-tree.min.js' ) ) ;
4243 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
4344 t . equal ( typeof bundle . datasets . AFINN_111 , 'function' , 'is a function' ) ;
44- t . equal ( typeof bundle . datasets . AFINN_111 ( ) , 'object' , 'returns expected value' ) ;
45+ t . equal ( typeof bundle . datasets . AFINN_111 ( ) , 'object' , 'returns expected value' ) ; // eslint-disable-line new-cap
4546 t . end ( ) ;
4647} ) ;
4748
4849tape ( 'project contains a distributable file exposing a "flat" namespace (unminified)' , function test ( t ) {
50+ // eslint-disable-next-line stdlib/no-dynamic-require
4951 var bundle = require ( join ( dirpath , 'stdlib-flat.js' ) ) ;
5052 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
5153 t . equal ( typeof bundle . base , 'object' , 'has member' ) ;
@@ -54,6 +56,7 @@ tape( 'project contains a distributable file exposing a "flat" namespace (unmini
5456} ) ;
5557
5658tape ( 'project contains a distributable file exposing a "flat" namespace (minified)' , function test ( t ) {
59+ // eslint-disable-next-line stdlib/no-dynamic-require
5760 var bundle = require ( join ( dirpath , 'stdlib-flat.min.js' ) ) ;
5861 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
5962 t . equal ( typeof bundle . base , 'object' , 'has member' ) ;
@@ -62,13 +65,15 @@ tape( 'project contains a distributable file exposing a "flat" namespace (minifi
6265} ) ;
6366
6467tape ( 'project contains a distributable file for REPL functionality (minified)' , function test ( t ) {
68+ // eslint-disable-next-line stdlib/no-dynamic-require
6569 var bundle = require ( join ( dirpath , 'stdlib-repl.min.js' ) ) ;
6670 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
6771 t . equal ( typeof bundle . repl , 'function' , 'is a function' ) ;
6872 t . end ( ) ;
6973} ) ;
7074
7175tape ( 'project contains a distributable file exposing a "tree" namespace (unminified)' , function test ( t ) {
76+ // eslint-disable-next-line stdlib/no-dynamic-require
7277 var bundle = require ( join ( dirpath , 'stdlib-tree.js' ) ) ;
7378 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
7479 t . equal ( typeof bundle . math , 'object' , 'has member' ) ;
@@ -79,6 +84,7 @@ tape( 'project contains a distributable file exposing a "tree" namespace (unmini
7984} ) ;
8085
8186tape ( 'project contains a distributable file exposing a "tree" namespace (minified)' , function test ( t ) {
87+ // eslint-disable-next-line stdlib/no-dynamic-require
8288 var bundle = require ( join ( dirpath , 'stdlib-tree.min.js' ) ) ;
8389 t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
8490 t . equal ( typeof bundle . math , 'object' , 'has member' ) ;
0 commit comments