feat: adding unit/ui testing support

This commit is contained in:
Dan Ditomaso
2025-02-24 11:46:35 -05:00
parent 864f8075d9
commit 14e9bd304a
4 changed files with 129 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
import { render } from "@testing-library/react";
import type { ReactElement } from "react";
function customRender(ui: ReactElement, options = {}) {
return render(ui, {
// wrapper: ({ children }) => <MapProvider>{children}</MapProvider>,
...options,
});
}
export * from "@testing-library/react";
export { customRender as render };