File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ jest.disableAutomock();
55import React from 'react' ;
66import ReactDOM from 'react-dom' ;
77import TestUtils from 'react-addons-test-utils' ;
8- import Tags from '../js/Tags' ;
8+ import Tags from '../src/ js/Tags' ;
99
1010describe ( 'Tags' , ( ) => {
1111 it ( 'should render' , ( ) => {
Original file line number Diff line number Diff line change 5656 "minimist" : " ~1.2.0"
5757 },
5858 "scripts" : {
59- "test" : " jest --coverage --json "
59+ "test" : " jest --coverage"
6060 },
6161 "jest" : {
6262 "testDirectoryName" : " __tests__" ,
63- "rootDir" : " src" ,
6463 "testPathIgnorePatterns" : [
6564 " <rootDir>/node_modules/"
6665 ],
Original file line number Diff line number Diff line change 22
33import React from 'react' ;
44
5- const Tag = props => {
5+ const tag = props => {
66 const onRemoveClick = e => {
77 e . preventDefault ( ) ;
88
@@ -29,9 +29,9 @@ const Tag = props => {
2929 ) ;
3030} ;
3131
32- export default Tag ;
32+ export default tag ;
3333
34- Tag . propTypes = {
34+ tag . propTypes = {
3535 name : React . PropTypes . string . isRequired ,
3636 removeTag : React . PropTypes . func ,
3737 readOnly : React . PropTypes . bool ,
You can’t perform that action at this time.
0 commit comments