mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #1999 from NativeScript/nnikolov/ConvertersChangingBindingContext
Fixed adding converters to bindingContext.
This commit is contained in:
@@ -567,6 +567,7 @@ export function test_BindingToDictionaryAtAppLevel() {
|
||||
page.bindingContext = pageViewModel;
|
||||
|
||||
TKUnit.assertEqual(testLabel.text, expectedValue);
|
||||
TKUnit.assertTrue(testLabel.bindingContext["dict"] === undefined, "BindingContext should not contain properties from application resources.");
|
||||
}
|
||||
|
||||
helper.buildUIAndRunTest(createLabel(), testFunc);
|
||||
|
||||
Reference in New Issue
Block a user