File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,16 +90,16 @@ describe('importType(name)', function () {
9090 } )
9191
9292 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' )
9494 } )
9595
9696 it ( "should return 'internal' for module from 'node_modules' if 'node_modules' missed in 'external-module-folders'" , function ( ) {
9797 const foldersContext = testContext ( { 'import/external-module-folders' : [ ] } )
98- expect ( importType ( 'builtin-modules ' , foldersContext ) ) . to . equal ( 'internal' )
98+ expect ( importType ( 'resolve ' , foldersContext ) ) . to . equal ( 'internal' )
9999 } )
100100
101101 it ( "should return 'external' for module from 'node_modules' if 'node_modules' contained in 'external-module-folders'" , function ( ) {
102102 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' )
104104 } )
105105} )
You can’t perform that action at this time.
0 commit comments