1
0
Fork 0
forked from gitea/nas

Migrate from Jest to Vitest (#34454)

This commit is contained in:
Echo 2025-05-07 20:29:02 +02:00 committed by GitHub
parent 741f166407
commit 8c579c5b34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 2344 additions and 2003 deletions

View file

@ -7,7 +7,7 @@ const fakeIcon = () => <span />;
describe('<Column />', () => {
describe('<ColumnHeader /> click handler', () => {
it('runs the scroll animation if the column contains scrollable content', () => {
const scrollToMock = jest.fn();
const scrollToMock = vi.fn();
const { container } = render(
<Column heading='notifications' icon='notifications' iconComponent={fakeIcon}>
<div className='scrollable' />