mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(router): fix tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user