File tree 1 file changed +0
-3
lines changed 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,6 @@ describe('aurelia', () => {
200
200
expect ( aurelia . host ) . toBe ( document . body ) ;
201
201
expect ( document . body . aurelia ) . toBe ( aurelia ) ;
202
202
expect ( documentSpy ) . toHaveBeenCalledWith ( "someIDThatShouldNotExist" ) ;
203
- expect ( mockContainer . registerInstance ) . toHaveBeenCalledWith ( Element , document . body ) ;
204
203
} )
205
204
. catch ( ( reason ) => expect ( false ) . toBeTruthy ( reason ) )
206
205
. then ( done ) ;
@@ -214,7 +213,6 @@ describe('aurelia', () => {
214
213
expect ( aurelia . host ) . toBe ( document . body ) ;
215
214
expect ( document . body . aurelia ) . toBe ( aurelia ) ;
216
215
expect ( documentSpy ) . toHaveBeenCalledWith ( "applicationHost" ) ;
217
- expect ( mockContainer . registerInstance ) . toHaveBeenCalledWith ( Element , document . body ) ;
218
216
} )
219
217
. catch ( ( reason ) => expect ( false ) . toBeTruthy ( reason ) )
220
218
. then ( done ) ;
@@ -229,7 +227,6 @@ describe('aurelia', () => {
229
227
expect ( result ) . toBe ( aurelia ) ;
230
228
expect ( aurelia . host ) . toBe ( host ) ;
231
229
expect ( host . aurelia ) . toBe ( aurelia ) ;
232
- expect ( mockContainer . registerInstance ) . toHaveBeenCalledWith ( Element , host ) ;
233
230
} )
234
231
. catch ( ( reason ) => expect ( false ) . toBeTruthy ( reason ) )
235
232
. then ( done ) ;
You can’t perform that action at this time.
0 commit comments