Skip to content

Commit 3be12b8

Browse files
author
vakrilov
committed
fix E2E tests
1 parent 5a440a1 commit 3be12b8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: tests/app/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {AppComponent} from "./app.component";
44
import {GestureComponent} from "./snippets/gestures.component";
55
import {LayoutsComponent} from "./snippets/layouts.component";
66
import {IconFontComponent} from "./snippets/icon-font.component";
7-
import {NS_ROUTER_DIRECTIVES, NS_ROUTER_PROVIDERS} from "nativescript-angular/router/ns-router";
7+
import {NS_ROUTER_DIRECTIVES, NS_ROUTER_PROVIDERS} from "nativescript-angular/router-deprecated";
88
import {APP_ROOT_VIEW} from "nativescript-angular/platform-providers";
99
import {Page} from "ui/page";
1010
import {Label} from "ui/label";

Diff for: tests/app/multi-page-main.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {ROUTER_DIRECTIVES, Router, OnActivate, OnDeactivate, CanReuse, OnReuse,
22
RouteParams, ComponentInstruction, RouteConfig } from '@angular/router-deprecated';
3-
import {NS_ROUTER_DIRECTIVES, NS_ROUTER_PROVIDERS} from "nativescript-angular/router/ns-router";
3+
import {NS_ROUTER_DIRECTIVES, NS_ROUTER_PROVIDERS} from "nativescript-angular/router-deprecated";
44
import {Component, ElementRef} from "@angular/core";
55
import {Location, LocationStrategy} from '@angular/common';
66
import {FirstComponent} from "./first.component";

Diff for: tests/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@angular/platform-browser-dynamic": "2.0.0-rc.2",
3737
"@angular/platform-server": "2.0.0-rc.2",
3838
"@angular/router-deprecated": "2.0.0-rc.2",
39+
"@angular/router": "3.0.0-alpha.6",
3940
"rxjs": "5.0.0-beta.6",
4041
"zone.js": "^0.6.12",
4142
"reflect-metadata": "^0.1.3",

0 commit comments

Comments
 (0)