feat: add R as shortcut of recording button; fixed linter errors.

This commit is contained in:
Xiaohan-Tian
2026-05-01 14:29:27 -07:00
parent 043e90b1d7
commit 9be96cd957
27 changed files with 2266 additions and 2225 deletions
+6 -6
View File
@@ -1,5 +1,5 @@
import type { ReactElement } from 'react'
import { render, type RenderOptions } from '@testing-library/react'
import type { ReactElement } from 'react';
import { render, type RenderOptions } from '@testing-library/react';
// Custom render function that includes any providers your app needs
// This can be extended later with Zustand store providers, etc.
@@ -13,10 +13,10 @@ const customRender = (
// If you need to wrap components with providers (like Zustand store),
// you can create an AllTheProviders wrapper here
return render(ui, options)
}
return render(ui, options);
};
// Re-export everything from testing-library/react
// eslint-disable-next-line react-refresh/only-export-components
export * from '@testing-library/react'
export { customRender as render }
export * from '@testing-library/react';
export { customRender as render };