Skip to content

Commit 20c4ce6

Browse files
chore(dts-generator): remove unnecessary tests
1 parent 04583ea commit 20c4ce6

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • test-packages/typed-json-model/webapp/model/test/cases

‎test-packages/typed-json-model/webapp/model/test/cases/general.ts‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,13 @@ const model3 = new TypedJSONModel(data);
3939
/** @expect ts2345 */ model3.bindList("/root/anArrayOfPlaceholders/0");
4040
/** @expect ts2345 */ model3.bindList("/root/anArrayOfObjects/0");
4141

42-
// bindList always returns a JSONListBinding and cannot be assigned to other types
43-
/** @expect ts2739 */ aPlaceholder = model3.bindList("/root/array");
44-
/** @expect ts2322 */ aJsonSafe = model3.bindList("/root/array");
45-
4642
/***********************************************************************************************************************
4743
* bindList - Relative cases
4844
**********************************************************************************************************************/
4945

5046
const context = model3.createBindingContext("/root");
5147

52-
/** @expect ok */ let listBindingRealtive: JSONListBinding = model3.bindList("array", context);
48+
/** @expect ok */ let listBindingRelative: JSONListBinding = model3.bindList("array", context);
5349
/** @expect ok */ model3.bindList("nested", context);
5450
/** @expect ok */ model3.bindList("anObjectWithArray/anArray", context);
5551

@@ -58,7 +54,3 @@ const context = model3.createBindingContext("/root");
5854
/** @expect ts2769 */ model3.bindList("anObjectWithArray/anArray/0", context);
5955
/** @expect ts2769 */ model3.bindList("anArrayOfPlaceholders/0", context);
6056
/** @expect ts2769 */ model3.bindList("anArrayOfObjects/0", context);
61-
62-
// bindList always returns a JSONListBinding and cannot be assigned to other types
63-
/** @expect ts2739 */ aPlaceholder = model3.bindList("array", context);
64-
/** @expect ts2322 */ aJsonSafe = model3.bindList("array", context);

0 commit comments

Comments
 (0)