Skip to content

Commit b36d37f

Browse files
committed
Change the promise in the bootstrap to a done callback
1 parent 80736ff commit b36d37f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/app/tests/bootstrap.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ export class SimpleApp {
1313

1414
describe('bootstrap', () => {
1515
describe('start app', () => {
16-
it('SimpleApp bootstrapped', () => {
16+
it('SimpleApp bootstrapped', (done) => {
1717
return bootstrap(SimpleApp).then((componentRef) => {
1818
assert.isTrue(SimpleApp === componentRef.componentType);
19+
done();
1920
});
2021
});
2122
});

0 commit comments

Comments
 (0)