Skip to content

Commit

Permalink
Fix tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Nov 24, 2017
1 parent a7a03eb commit f5a6dfa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ko/survey_kotests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,8 @@ QUnit.test("Load PanelDynamic from Json", function(assert) {
var row = <QuestionRow>panel["koRows"]()[0];
assert.ok(row, "the first row is created");
assert.equal(row.koElements().length, 1, "there is one question in the row");
assert.equal(row.koElements()[0].koVisible(), true, "question is visible") <
Question >
panel.questions[0].koValue("val1");
assert.equal(row.koElements()[0].koVisible(), true, "question is visible");
<Question>panel.questions[0].koValue("val1");
assert.deepEqual(
question.value,
[{ q1: "val1" }, {}, {}],
Expand Down

0 comments on commit f5a6dfa

Please sign in to comment.