File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 "build" : " webpack --mode production" ,
66 "dev" : " webpack --mode development --watch" ,
77 "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"
129 },
1310 "keywords" : [
1411 " 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 */
14import React from 'react' ;
25import { configure , mount } from 'enzyme' ;
36import Adapter from 'enzyme-adapter-react-16' ;
4- // eslint-disable-next-line import/no-named-as-default-member
57import Chart from '../components/Chart' ;
68// Unit test cases for d3 functionality
79configure ( { adapter : new Adapter ( ) } ) ;
@@ -61,7 +63,7 @@ describe('Root object', () => {
6163 } ) ;
6264
6365 // eslint-disable-next-line jest/no-disabled-tests
64- it . skip ( 'should be a deep clone of the hierarchy' , ( ) => {
66+ it ( 'should be a deep clone of the hierarchy' , ( ) => {
6567 const instance = wrapper . instance ( ) ;
6668 instance . componentDidMount ( ) ;
6769 expect ( typeof root ) . toBe ( typeof props . hierarchy ) ;
You can’t perform that action at this time.
0 commit comments