mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[courier/tests] updated test
This commit is contained in:
parent
8fef03b816
commit
985f9970f3
1 changed files with 1 additions and 3 deletions
|
@ -32,9 +32,7 @@ describe('ui/courier/fetch/request/segmented', () => {
|
|||
expect(returned.then).to.be.Function;
|
||||
});
|
||||
|
||||
it('does not call super.start() until promise is resolved', () => {
|
||||
expect(searchReqStart.called).to.be(false);
|
||||
$rootScope.$apply();
|
||||
it('calls super.start() synchronously', () => {
|
||||
expect(searchReqStart.called).to.be(true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue