11import React from 'react' ;
22import { shallow } from 'enzyme' ;
3- import { Toolbar } from '../../modules/IDE/components/Toolbar' ;
3+ import { ToolbarComponent } from '../../modules/IDE/components/Toolbar' ;
44
55
66const initialProps = {
@@ -33,7 +33,7 @@ const initialProps = {
3333} ;
3434
3535
36- describe ( '<Toolbar />' , ( ) => {
36+ describe ( '<ToolbarComponent />' , ( ) => {
3737 let component ;
3838 let props = initialProps ;
3939 let input ;
@@ -63,7 +63,7 @@ describe('<Toolbar />', () => {
6363 describe ( 'with valid props' , ( ) => {
6464 beforeEach ( ( ) => {
6565 setProps ( ) ;
66- component = shallow ( < Toolbar { ...props } /> ) ;
66+ component = shallow ( < ToolbarComponent { ...props } /> ) ;
6767 } ) ;
6868 it ( 'renders' , ( ) => expect ( component ) . toBeDefined ( ) ) ;
6969
@@ -76,7 +76,7 @@ describe('<Toolbar />', () => {
7676 project : { isEditingName : true , name : 'testname' } ,
7777 setProjectName : jest . fn ( name => component . setProps ( { project : { name } } ) ) ,
7878 } ) ;
79- component = shallow ( < Toolbar { ...props } /> ) ;
79+ component = shallow ( < ToolbarComponent { ...props } /> ) ;
8080 } ) ;
8181
8282 describe ( 'to a valid name' , ( ) => {
0 commit comments