Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sclower committed Oct 17, 2024
1 parent 28e61b1 commit b8aecc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/aria.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ suite('aria', function () {
'Textarea has one aria-hidden parent'
);
var mathSpeak = $(container).find('.mq-mathspeak');
assert.equal(mathSpeak.length, 1, 'One mathspeak region');
assert.equal(mathSpeak.length, 2, 'Two mathspeak regions');
assert.equal(
mathSpeak.closest('[aria-hidden]="true"').length,
0,
'Textarea has no aria-hidden parent'
'Mathspeak has no aria-hidden parent'
);
var nHiddenTexts = 0;
var allChildren = $(container).find('*');
Expand Down Expand Up @@ -260,7 +260,7 @@ suite('aria', function () {
mathField.blur();
setTimeout(function () {
assert.equal(
mathField.__controller.textarea.getAttribute('aria-label'),
mathField.__controller.mathspeakSpan.textContent,
'Math Input: "s" "q" "r" "t" left parenthesis, "x" , right parenthesis'
);
done();
Expand Down

0 comments on commit b8aecc6

Please sign in to comment.