diff --git a/src/test-utils.jsx b/src/test-utils.jsx
new file mode 100644
index 0000000..768da69
--- /dev/null
+++ b/src/test-utils.jsx
@@ -0,0 +1,7 @@
+import { MemoryRouter } from 'react-router-dom';
+import { render } from '@testing-library/react';
+
+export const renderWithRouter = (ui, { route = '/' } = {}) => {
+  window.history.pushState({}, 'Test page', route);
+  return render(ui, { wrapper: MemoryRouter });
+};
\ No newline at end of file
