Skip to content

Commit

Permalink
test(dropdown): add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ousiri committed Jan 24, 2022
1 parent 2ec01b1 commit 4ec4af2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('dropdown', () => {
</Dropdown>,
);
expect(getPopupDomNode(dropdown) instanceof HTMLDivElement).toBeTruthy();
expect(dropdown.find('.my-button').hasClass('rc-dropdown-open')).toBe(true);
});

it('simply works', async () => {
Expand Down

0 comments on commit 4ec4af2

Please sign in to comment.