Skip to content

Commit f5520e8

Browse files
committed
Reduce "describe" nesting in bootstrap test.
1 parent b36d37f commit f5520e8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/app/tests/bootstrap.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ export class SimpleApp {
1212
}
1313

1414
describe('bootstrap', () => {
15-
describe('start app', () => {
16-
it('SimpleApp bootstrapped', (done) => {
17-
return bootstrap(SimpleApp).then((componentRef) => {
18-
assert.isTrue(SimpleApp === componentRef.componentType);
19-
done();
20-
});
15+
it('SimpleApp bootstrapped', (done) => {
16+
return bootstrap(SimpleApp).then((componentRef) => {
17+
assert.isTrue(SimpleApp === componentRef.componentType);
18+
done();
2119
});
2220
});
2321
});

0 commit comments

Comments
 (0)