diff --git a/knockout/tests/knockout-tests.ts b/knockout/tests/knockout-tests.ts index 78d464f073..7b0c8174e5 100644 --- a/knockout/tests/knockout-tests.ts +++ b/knockout/tests/knockout-tests.ts @@ -163,6 +163,7 @@ function test_bindings() { ko.bindingHandlers.yourBindingName = { init: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) { + return { "controlsDescendantBindings": true }; }, update: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) { } @@ -655,4 +656,4 @@ function testUnwrapUnion() { var possibleObs: KnockoutObservable | number; var num = ko.unwrap(possibleObs); -} \ No newline at end of file +}