Skip to content

Commit

Permalink
Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mendrew committed Aug 17, 2023
1 parent 87a3e67 commit f47870a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vkui/src/lib/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('removeClassNameFromElement', () => {

// remove not existing class
removeClassNameFromElement(div, 'unknown-class');
expect(div.getAttribute('class')).toEqual('b-class a-class a-class');
expect(div.getAttribute('class')).toEqual('a-class b-class a-class');

removeClassNameFromElement(div, 'a-class');
expect(div.getAttribute('class')).toEqual('b-class a-class');
Expand Down

0 comments on commit f47870a

Please sign in to comment.