diff --git a/src/__tests__/App.test.js b/src/__tests__/App.test.js
index <HASH>..<HASH> 100644
--- a/src/__tests__/App.test.js
+++ b/src/__tests__/App.test.js
@@ -1,8 +1,24 @@
 import React from 'react';
 import ReactDOM from 'react-dom';
 import App from '../App';
+import { HashRouter } from 'react-router-dom';
+
+// ignore window['gtag']
+Object.defineProperty(window, 'gtag', {
+    value: () => ({
+        getPropertyValue: () => { }
+    })
+});
 
 it('renders without crashing', () => {
-  const div = document.createElement('div');
-  ReactDOM.render(<App />, div);
+    const root = document.createElement('div');
+
+    ReactDOM.render(
+        <HashRouter>
+            <React.StrictMode>
+                <App />
+            </React.StrictMode>
+        </HashRouter>,
+        root
+    );
 });
Test: App.test.js