@@ -58,7 +58,6 @@ describe('<UIView>', () => {
5858 beforeEach ( ( ) => {
5959 router = new UIRouterReact ( ) ;
6060 router . plugin ( memoryLocationPlugin ) ;
61- router . start ( ) ;
6261 } ) ;
6362
6463 it ( 'renders an empty <div>' , ( ) => {
@@ -102,7 +101,6 @@ describe('<UIView>', () => {
102101 router . plugin ( servicesPlugin ) ;
103102 router . plugin ( memoryLocationPlugin ) ;
104103 states . forEach ( state => router . stateRegistry . register ( state ) ) ;
105- router . start ( ) ;
106104 } ) ;
107105
108106 it ( 'renders its State Component' , ( ) => {
@@ -121,7 +119,6 @@ describe('<UIView>', () => {
121119 it ( 'injects the right props' , ( ) => {
122120 const Comp = ( ) => < span > component</ span > ;
123121 router . stateRegistry . register ( { name : '__state' , component : Comp } ) ;
124- router . start ( ) ;
125122 const wrapper = mount (
126123 < UIRouter router = { router } >
127124 < UIView />
@@ -141,7 +138,6 @@ describe('<UIView>', () => {
141138 component : Comp ,
142139 resolve : [ { token : 'foo' , resolveFn : ( ) => 'bar' } ] ,
143140 } ) ;
144- router . start ( ) ;
145141 const wrapper = mount (
146142 < UIRouter router = { router } >
147143 < UIView />
@@ -234,7 +230,6 @@ describe('<UIView>', () => {
234230 router . stateRegistry . register (
235231 { name : 'exit' , component : Exit } as ReactStateDeclaration ,
236232 ) ;
237- router . start ( ) ;
238233 const wrapper = mount (
239234 < UIRouter router = { router } >
240235 < UIView />
0 commit comments