test boundary refactoring and main() invocation (0826)
This commit is contained in:
@ -158,3 +158,5 @@ export function main() {
|
||||
}), 10000);
|
||||
});
|
||||
}
|
||||
|
||||
main();
|
||||
|
@ -6,7 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {EventEmitter} from '../../../src/facade/async';
|
||||
import {EventEmitter} from '@angular/facade/src/async';
|
||||
|
||||
export class MockEventEmitter<T> extends EventEmitter<T> {
|
||||
private _nextFns: Function[] = [];
|
||||
|
@ -35,3 +35,5 @@ export function main() {
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
main();
|
||||
|
@ -68,3 +68,5 @@ export function main() {
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
main();
|
||||
|
@ -10,8 +10,8 @@ import {Type} from '@angular/core';
|
||||
import {NgZone} from '@angular/core/src/zone/ng_zone';
|
||||
import {ClientMessageBroker, ClientMessageBrokerFactory_, UiArguments} from '@angular/platform-browser/src/web_workers/shared/client_message_broker';
|
||||
import {MessageBus, MessageBusSink, MessageBusSource} from '@angular/platform-browser/src/web_workers/shared/message_bus';
|
||||
import {ListWrapper, StringMapWrapper} from '../../../src/facade/collection';
|
||||
import {isPresent} from '../../../src/facade/lang';
|
||||
import {ListWrapper, StringMapWrapper} from '@angular/facade/src/collection';
|
||||
import {isPresent} from '@angular/facade/src/lang';
|
||||
import {SpyMessageBroker} from '../worker/spies';
|
||||
|
||||
import {MockEventEmitter} from './mock_event_emitter';
|
||||
|
@ -91,3 +91,5 @@ export function main() {
|
||||
it('should send replaceState to render thread', () => { testPushOrReplaceState(false); });
|
||||
});
|
||||
}
|
||||
|
||||
main();
|
||||
|
@ -22,7 +22,7 @@ import {WebWorkerRootRenderer} from '@angular/platform-browser/src/web_workers/w
|
||||
import {BrowserTestingModule} from '@angular/platform-browser/testing';
|
||||
import {expect} from '@angular/platform-browser/testing/matchers';
|
||||
|
||||
import {dispatchEvent} from '../../../../platform-browser/testing/browser_util';
|
||||
import {dispatchEvent} from '@angular/platform-browser/testing/browser_util';
|
||||
import {PairedMessageBuses, createPairedMessageBuses} from '../shared/web_worker_test_util';
|
||||
|
||||
export function main() {
|
||||
@ -218,3 +218,5 @@ class MyComp2 {
|
||||
|
||||
throwError() { throw 'boom'; }
|
||||
}
|
||||
|
||||
main();
|
||||
|
Reference in New Issue
Block a user