Added new Page in one test

Updated package.json widget version
This commit is contained in:
Hristo Hristov
2016-01-19 10:53:55 +02:00
parent 20f8f8a852
commit b67c2623ed
2 changed files with 3 additions and 2 deletions

View File

@ -103,7 +103,8 @@ export function test_loadWithOptionsWithXML() {
var v = builder.load({ var v = builder.load({
path: "~/xml-declaration/mymodulewithxml", path: "~/xml-declaration/mymodulewithxml",
name: "MyControl", name: "MyControl",
exports: exports exports: exports,
page: new Page()
}); });
TKUnit.assert(v instanceof view.View, "Expected result: View; Actual result: " + v + ";"); TKUnit.assert(v instanceof view.View, "Expected result: View; Actual result: " + v + ";");
}; };

View File

@ -36,7 +36,7 @@
}, },
"typings": "tns-core-modules.d.ts", "typings": "tns-core-modules.d.ts",
"dependencies": { "dependencies": {
"tns-core-modules-widgets": "1.6.0" "tns-core-modules-widgets": "1.6.1"
}, },
"nativescript": { "nativescript": {
"platforms": { "platforms": {