File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
"build" : " webpack --mode production" ,
6
6
"dev" : " webpack --mode development --watch" ,
7
7
"test" : " jest --verbose --coverage --watchAll" ,
8
- "lint" : " eslint --ext .js --ext .jsx src" ,
9
- "docker-build" : " docker build -t reacttt/test-lint ." ,
10
- "docker-check" : " docker-compose up --abort-on-container-exit" ,
11
- "docker-test-lint" : " eslint --ext .js --ext .jsx src package && jest --verbose"
8
+ "lint" : " eslint --ext .js --ext .jsx src"
12
9
},
13
10
"keywords" : [
14
11
" react" ,
Original file line number Diff line number Diff line change
1
+ /* eslint-disable import/no-extraneous-dependencies */
2
+ /* eslint-disable import/no-named-as-default-member */
3
+ /* eslint-disable import/no-named-as-default */
1
4
import React from 'react' ;
2
5
import { configure , mount } from 'enzyme' ;
3
6
import Adapter from 'enzyme-adapter-react-16' ;
4
- // eslint-disable-next-line import/no-named-as-default-member
5
7
import Chart from '../components/Chart' ;
6
8
// Unit test cases for d3 functionality
7
9
configure ( { adapter : new Adapter ( ) } ) ;
@@ -60,6 +62,7 @@ describe('Root object', () => {
60
62
wrapper = mount ( < Chart { ...props } /> ) ;
61
63
} ) ;
62
64
65
+ // eslint-disable-next-line jest/no-disabled-tests
63
66
it ( 'should be a deep clone of the hierarchy' , ( ) => {
64
67
const instance = wrapper . instance ( ) ;
65
68
instance . componentDidMount ( ) ;
@@ -85,4 +88,4 @@ describe('maked3Tree method', () => {
85
88
instance . maked3Tree ( ) ;
86
89
expect ( instance . removed3Tree ) . toHaveBeenCalledTimes ( 1 ) ;
87
90
} ) ;
88
- } ) ;
91
+ } ) ;
You can’t perform that action at this time.
0 commit comments