feat: docker for production deployment
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
import { render as testingLibraryRender } from "@testing-library/react";
|
||||
import { MantineProvider } from "@mantine/core";
|
||||
import { darkTheme } from "@/theme";
|
||||
import { theme } from "@/theme";
|
||||
import React from "react";
|
||||
|
||||
export function render(ui: React.ReactNode) {
|
||||
return testingLibraryRender(<>{ui}</>, {
|
||||
wrapper: ({ children }: { children: React.ReactNode }) => (
|
||||
<MantineProvider
|
||||
theme={darkTheme}
|
||||
theme={theme}
|
||||
env="test">
|
||||
{children}
|
||||
</MantineProvider>
|
||||
|
||||
Reference in New Issue
Block a user