You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
344 B

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 };