We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec62e0 commit fc8d660Copy full SHA for fc8d660
test/TreeNode.jsx
@@ -147,7 +147,7 @@ describe('<TreeNode />', () => {
147
<TreeNode {...baseProps} expandDisabled isLeaf={false} />,
148
);
149
150
- assert.isTrue(screen.getByLabelText('Expand').disabled);
+ assert.isTrue(screen.getByLabelText('Expand node').disabled);
151
});
152
153
@@ -435,7 +435,7 @@ describe('<TreeNode />', () => {
435
436
437
const user = userEvent.setup();
438
- await user.click(screen.getByLabelText('Collapse'));
+ await user.click(screen.getByLabelText('Collapse node'));
439
440
assert.deepEqual(actual, { value: 'jupiter', expanded: false });
441
0 commit comments