mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
19 lines
577 B
TypeScript
19 lines
577 B
TypeScript
import {TEST_ROUTER_PROVIDERS, ddescribeRouter, describeRouter, describeWith, describeWithAndWithout, describeWithout, itShouldRoute} from './util';
|
|
|
|
import {beforeEachProviders, describe,} from '@angular/core/testing/testing_internal';
|
|
|
|
import {registerSpecs} from './impl/aux_route_spec_impl';
|
|
|
|
export function main() {
|
|
describe('auxiliary route spec', () => {
|
|
|
|
beforeEachProviders(() => TEST_ROUTER_PROVIDERS);
|
|
|
|
registerSpecs();
|
|
|
|
describeRouter('aux routes', () => {
|
|
itShouldRoute();
|
|
describeWith('a primary route', itShouldRoute);
|
|
});
|
|
});
|
|
}
|