Add one more test to redoc.spec

This commit is contained in:
Roman Hotsiy 2015-12-19 17:32:29 +02:00
parent b29c49e8d0
commit 9f64b6a40d

View File

@ -33,6 +33,13 @@ describe('Redoc Component', () => {
done();
}, err => done.fail(err));
});
it('should init components tree without errors', (done) => {
builder.createAsync(TestApp).then(fixture => {
(() => fixture.detectChanges()).should.not.throw();
done();
}, err => done.fail(err));
});
});