Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 8b60622

Browse files
author
Matt Goo
authored
fix(menu-surface): fix menu surface unit test typo (#315)
1 parent 9eb9bfd commit 8b60622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/menu-surface/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test('update to props.open sets firstFocusableElement_', () => {
4848
removeMenuFromBody(wrapper);
4949
});
5050

51-
test('update to props.open sets firstFocusableElement_', () => {
51+
test('update to props.open sets lastFocusableElement_', () => {
5252
const wrapper = mount(<MenuSurface><button>click</button></MenuSurface>);
5353
wrapper.setProps({open: true});
5454
assert.equal(wrapper.instance().lastFocusableElement_, wrapper.find('button').getDOMNode());

0 commit comments

Comments
 (0)