File tree 1 file changed +3
-0
lines changed
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';
7
7
import { CLIEngine } from 'eslint' ;
8
8
import eslintPkg from 'eslint/package.json' ;
9
9
import semver from 'semver' ;
10
+ import * as importPlugin from '../../src/index' ;
10
11
11
12
describe ( 'CLI regression tests' , function ( ) {
12
13
describe ( 'issue #210' , function ( ) {
@@ -20,6 +21,7 @@ describe('CLI regression tests', function () {
20
21
'named' : 2 ,
21
22
} ,
22
23
} ) ;
24
+ cli . addPlugin ( 'eslint-plugin-import' , importPlugin ) ;
23
25
} ) ;
24
26
it ( "doesn't throw an error on gratuitous, erroneous self-reference" , function ( ) {
25
27
expect ( ( ) => cli . executeOnFiles ( [ './tests/files/issue210.js' ] ) ) . not . to . throw ( ) ;
@@ -38,6 +40,7 @@ describe('CLI regression tests', function () {
38
40
rulePaths : [ './src/rules' ] ,
39
41
ignore : false ,
40
42
} ) ;
43
+ cli . addPlugin ( 'eslint-plugin-import' , importPlugin ) ;
41
44
}
42
45
} ) ;
43
46
You can’t perform that action at this time.
0 commit comments