File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,16 +90,16 @@ describe('importType(name)', function () {
90
90
} )
91
91
92
92
it ( "should return 'external' for module from 'node_modules' with default config" , function ( ) {
93
- expect ( importType ( 'builtin-modules ' , context ) ) . to . equal ( 'external' )
93
+ expect ( importType ( 'resolve ' , context ) ) . to . equal ( 'external' )
94
94
} )
95
95
96
96
it ( "should return 'internal' for module from 'node_modules' if 'node_modules' missed in 'external-module-folders'" , function ( ) {
97
97
const foldersContext = testContext ( { 'import/external-module-folders' : [ ] } )
98
- expect ( importType ( 'builtin-modules ' , foldersContext ) ) . to . equal ( 'internal' )
98
+ expect ( importType ( 'resolve ' , foldersContext ) ) . to . equal ( 'internal' )
99
99
} )
100
100
101
101
it ( "should return 'external' for module from 'node_modules' if 'node_modules' contained in 'external-module-folders'" , function ( ) {
102
102
const foldersContext = testContext ( { 'import/external-module-folders' : [ 'node_modules' ] } )
103
- expect ( importType ( 'builtin-modules ' , foldersContext ) ) . to . equal ( 'external' )
103
+ expect ( importType ( 'resolve ' , foldersContext ) ) . to . equal ( 'external' )
104
104
} )
105
105
} )
You can’t perform that action at this time.
0 commit comments