Skip to content

Commit

Permalink
work for #4842
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed Feb 8, 2024
1 parent e83b68c commit 9337790
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/question_texttests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@ QUnit.test("Test maxLength & getMaxLength", function (assert) {

QUnit.test("Apply mask", function (assert) {
const q = new QuestionTextModel("q1");
const maskSettings = new MaskSettings();
maskSettings.setData({ type: "pattern", mask: "+99-99" });
q.maskSettings = maskSettings;
q.maskSettings.setData({ type: "pattern", mask: "+99-99" });
q.value = "1234";
assert.equal(q.value, "1234");
assert.equal(q.inputValue, "+12-34");
Expand Down

0 comments on commit 9337790

Please sign in to comment.