File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import Tree from '../../../src/js/Tree ' ;
3+ import Tree from '../../../src/js/CheckboxTree ' ;
44
55const nodes = [
66 {
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import Tree from '../../../src/js/Tree ' ;
3+ import Tree from '../../../src/js/CheckboxTree ' ;
44
55const nodes = [
66 {
Original file line number Diff line number Diff line change 11// Export default to provide support for non-ES6 solutions
2- module . exports = require ( './js/Tree ' ) . default ;
2+ module . exports = require ( './js/CheckboxTree ' ) . default ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import shortid from 'shortid';
44import TreeNode from './TreeNode' ;
55import nodeShape from './nodeShape' ;
66
7- class Tree extends React . Component {
7+ class CheckboxTree extends React . Component {
88 static propTypes = {
99 nodes : React . PropTypes . arrayOf ( nodeShape ) . isRequired ,
1010
@@ -208,4 +208,4 @@ class Tree extends React.Component {
208208 }
209209}
210210
211- export default Tree ;
211+ export default CheckboxTree ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import { shallow } from 'enzyme' ;
33import { assert } from 'chai' ;
44
5- import CheckboxTree from '../src/js/Tree ' ;
5+ import CheckboxTree from '../src/js/CheckboxTree ' ;
66import TreeNode from '../src/js/TreeNode' ;
77
88describe ( '<CheckboxTree />' , ( ) => {
You can’t perform that action at this time.
0 commit comments