Skip to content

Commit 40ca0c4

Browse files
test(aurelia): update specs to match new composition behavior
1 parent fe62368 commit 40ca0c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/aurelia.spec.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ describe('aurelia', () => {
200200
expect(aurelia.host).toBe(document.body);
201201
expect(document.body.aurelia).toBe(aurelia);
202202
expect(documentSpy).toHaveBeenCalledWith("someIDThatShouldNotExist");
203-
expect(mockContainer.registerInstance).toHaveBeenCalledWith(Element, document.body);
204203
})
205204
.catch((reason) => expect(false).toBeTruthy(reason))
206205
.then(done);
@@ -214,7 +213,6 @@ describe('aurelia', () => {
214213
expect(aurelia.host).toBe(document.body);
215214
expect(document.body.aurelia).toBe(aurelia);
216215
expect(documentSpy).toHaveBeenCalledWith("applicationHost");
217-
expect(mockContainer.registerInstance).toHaveBeenCalledWith(Element, document.body);
218216
})
219217
.catch((reason) => expect(false).toBeTruthy(reason))
220218
.then(done);
@@ -229,7 +227,6 @@ describe('aurelia', () => {
229227
expect(result).toBe(aurelia);
230228
expect(aurelia.host).toBe(host);
231229
expect(host.aurelia).toBe(aurelia);
232-
expect(mockContainer.registerInstance).toHaveBeenCalledWith(Element, host);
233230
})
234231
.catch((reason) => expect(false).toBeTruthy(reason))
235232
.then(done);

0 commit comments

Comments
 (0)