Skip to content

Commit

Permalink
Solidify tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Apr 18, 2024
1 parent 7520bd7 commit a8cc1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webform.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -4240,7 +4240,7 @@ describe('Webform tests', function() {
SpySanitize.resetHistory();
form.redraw();
setTimeout(() => {
assert.equal(SpySanitize.callCount, 1, 'Should sanitize templates when sanitize in turned on');
assert(SpySanitize.callCount >= 1, 'Should sanitize templates when sanitize in turned on');
done();
}, 250);
}, 250);
Expand Down

0 comments on commit a8cc1f6

Please sign in to comment.