File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { expect } from 'chai';
77import  {  CLIEngine  }  from  'eslint' ; 
88import  eslintPkg  from  'eslint/package.json' ; 
99import  semver  from  'semver' ; 
10+ import  *  as  importPlugin  from  '../../src/index' ; 
1011
1112describe ( 'CLI regression tests' ,  function  ( )  { 
1213  describe ( 'issue #210' ,  function  ( )  { 
@@ -20,6 +21,7 @@ describe('CLI regression tests', function () {
2021          'named' : 2 , 
2122        } , 
2223      } ) ; 
24+       cli . addPlugin ( 'eslint-plugin-import' ,  importPlugin ) ; 
2325    } ) ; 
2426    it ( "doesn't throw an error on gratuitous, erroneous self-reference" ,  function  ( )  { 
2527      expect ( ( )  =>  cli . executeOnFiles ( [ './tests/files/issue210.js' ] ) ) . not . to . throw ( ) ; 
@@ -38,6 +40,7 @@ describe('CLI regression tests', function () {
3840          rulePaths : [ './src/rules' ] , 
3941          ignore : false , 
4042        } ) ; 
43+         cli . addPlugin ( 'eslint-plugin-import' ,  importPlugin ) ; 
4144      } 
4245    } ) ; 
4346
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments