Update packages/ui/components/overlays/test/OverlayController.test.js

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
This commit is contained in:
Oleksii Kadurin 2024-08-28 11:29:32 +02:00 committed by GitHub
parent 1d128d4973
commit e0f0ea4937
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1528,7 +1528,7 @@ describe('OverlayController', () => {
expect(ctrl.invokerNode?.getAttribute('aria-expanded')).to.equal('false');
});
it('synchronizes [aria-expanded] on invoker when the overlay is modal', async () => {
it('does not synchronize [aria-expanded] on invoker when the overlay is modal', async () => {
const invokerNode = /** @type {HTMLElement} */ (
await fixture('<div role="button">invoker</div>')
);