Allow filtering room list during treeview navigation (#7219)
This commit is contained in:
parent
768e270f3f
commit
9727a82a12
4 changed files with 40 additions and 3 deletions
|
@ -45,6 +45,11 @@ const button2 = <Button key={2}>b</Button>;
|
|||
const button3 = <Button key={3}>c</Button>;
|
||||
const button4 = <Button key={4}>d</Button>;
|
||||
|
||||
// mock offsetParent
|
||||
Object.defineProperty(HTMLElement.prototype, "offsetParent", {
|
||||
get() { return this.parentNode; },
|
||||
});
|
||||
|
||||
describe("RovingTabIndex", () => {
|
||||
it("RovingTabIndexProvider renders children as expected", () => {
|
||||
const wrapper = mount(<RovingTabIndexProvider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue