Editor de texto primer intento

This commit is contained in:
2025-09-05 18:57:11 +02:00
parent 23799e7826
commit d344e25d6b
37 changed files with 21316 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
import userEvent from '@testing-library/user-event';
export * from '@testing-library/react';
export { render } from './render';
export { userEvent };
+13
View File
@@ -0,0 +1,13 @@
import { render as testingLibraryRender } from '@testing-library/react';
import { MantineProvider } from '@mantine/core';
import { theme } from '../src/theme';
export function render(ui: React.ReactNode) {
return testingLibraryRender(ui, {
wrapper: ({ children }: { children: React.ReactNode }) => (
<MantineProvider theme={theme} env="test">
{children}
</MantineProvider>
),
});
}