test(router): fix tests

This commit is contained in:
Manu Mtz.-Almeida
2018-05-11 19:45:44 +02:00
parent 3da0c989b2
commit d0bd3ba89e
7 changed files with 11048 additions and 25 deletions

View File

@@ -1,4 +1,5 @@
import { NavOutletElement, RouteChain, RouteID, RouterIntent } from '../../../interface';
import { NavOutletElement, RouteChain, RouteID } from '../../../interface';
import { RouterIntent } from './interface';
export async function writeNavState(root: HTMLElement | undefined, chain: RouteChain, intent: RouterIntent, index: number, changed = false): Promise<boolean> {
try {

View File

@@ -1,4 +1,5 @@
import { RouteChain, RouterIntent } from '../../../interface';
import { RouteChain } from '../../../interface';
import { RouterIntent } from './interface';
export function generatePath(segments: string[]): string {
const path = segments