refactor(e2e): rename modal-layout to modal-layout-root (#5867)

* chore(e2e): register `layout` files in bundle-config

* refactor(e2e): rename modal-layout to modal-layout-root

Similar to `modal-tab-root`:
https://github.com/NativeScript/NativeScript/tree/4.0.0/e2e/modal-navigation/app/modal-tab

This avoid the need to explicitly register it to webpack modules.

* refactor(e2e): rename mocha describes to contain a dash

* refactor: remove bundle-config

It is no more as `nativescript-dev-webpack@0.12.0` registers default application modules.
This commit is contained in:
Vasil Chimev
2018-05-29 10:49:13 +03:00
committed by GitHub
parent bc9984ad99
commit 83382f8f5a
10 changed files with 6 additions and 15 deletions

View File

@@ -0,0 +1,23 @@
export function onShowingModally() {
console.log("modal-layout showingModally");
}
export function onLoaded() {
console.log("modal-layout loaded");
}
export function onNavigatingTo() {
console.log("modal-layout onNavigatingTo");
}
export function onNavigatingFrom() {
console.log("modal-layout onNavigatingFrom");
}
export function onNavigatedTo() {
console.log("modal-layout onNavigatedTo");
}
export function onNavigatedFrom() {
console.log("modal-layout onNavigatedFrom");
}