Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuiliao committed Mar 6, 2025
1 parent 002ddf1 commit 2d0bf6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-aria-components/test/Separator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* governing permissions and limitations under the License.
*/

import React from 'react';
import {render} from '@react-spectrum/test-utils-internal';
import {Separator, SeparatorContext} from '../';

Expand All @@ -23,7 +24,7 @@ describe('Separator', () => {
});

it('should render a separator with custom class', () => {
let {getByRole} = render(<Separator className="test"/>);
let {getByRole} = render(<Separator className="test" />);
let separator = getByRole('separator');
expect(separator).toHaveAttribute('class', 'test');
});
Expand Down

0 comments on commit 2d0bf6a

Please sign in to comment.