@@ -38,14 +38,16 @@ tape( 'distributable files', function test( t ) {
38
38
} ) ;
39
39
40
40
tape ( 'project contains a distributable file containing datasets (minified)' , function test ( t ) {
41
+ // eslint-disable-next-line stdlib/no-dynamic-require
41
42
var bundle = require ( join ( dirpath , 'stdlib-datasets-tree.min.js' ) ) ;
42
43
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
43
44
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
45
46
t . end ( ) ;
46
47
} ) ;
47
48
48
49
tape ( 'project contains a distributable file exposing a "flat" namespace (unminified)' , function test ( t ) {
50
+ // eslint-disable-next-line stdlib/no-dynamic-require
49
51
var bundle = require ( join ( dirpath , 'stdlib-flat.js' ) ) ;
50
52
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
51
53
t . equal ( typeof bundle . base , 'object' , 'has member' ) ;
@@ -54,6 +56,7 @@ tape( 'project contains a distributable file exposing a "flat" namespace (unmini
54
56
} ) ;
55
57
56
58
tape ( 'project contains a distributable file exposing a "flat" namespace (minified)' , function test ( t ) {
59
+ // eslint-disable-next-line stdlib/no-dynamic-require
57
60
var bundle = require ( join ( dirpath , 'stdlib-flat.min.js' ) ) ;
58
61
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
59
62
t . equal ( typeof bundle . base , 'object' , 'has member' ) ;
@@ -62,13 +65,15 @@ tape( 'project contains a distributable file exposing a "flat" namespace (minifi
62
65
} ) ;
63
66
64
67
tape ( 'project contains a distributable file for REPL functionality (minified)' , function test ( t ) {
68
+ // eslint-disable-next-line stdlib/no-dynamic-require
65
69
var bundle = require ( join ( dirpath , 'stdlib-repl.min.js' ) ) ;
66
70
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
67
71
t . equal ( typeof bundle . repl , 'function' , 'is a function' ) ;
68
72
t . end ( ) ;
69
73
} ) ;
70
74
71
75
tape ( 'project contains a distributable file exposing a "tree" namespace (unminified)' , function test ( t ) {
76
+ // eslint-disable-next-line stdlib/no-dynamic-require
72
77
var bundle = require ( join ( dirpath , 'stdlib-tree.js' ) ) ;
73
78
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
74
79
t . equal ( typeof bundle . math , 'object' , 'has member' ) ;
@@ -79,6 +84,7 @@ tape( 'project contains a distributable file exposing a "tree" namespace (unmini
79
84
} ) ;
80
85
81
86
tape ( 'project contains a distributable file exposing a "tree" namespace (minified)' , function test ( t ) {
87
+ // eslint-disable-next-line stdlib/no-dynamic-require
82
88
var bundle = require ( join ( dirpath , 'stdlib-tree.min.js' ) ) ;
83
89
t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
84
90
t . equal ( typeof bundle . math , 'object' , 'has member' ) ;
0 commit comments