Skip to content

Commit 004e9e0

Browse files
committed
resolved
1 parent 05f1114 commit 004e9e0

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ const nextConfig = {
99
},
1010
};
1111

12-
module.exports = nextConfig;
12+
export default nextConfig;

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "frontend",
33
"version": "0.1.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"dev": "next dev",
78
"build": "next build",

frontend/src/__tests__/auth-system.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ describe('Authentication System', () => {
195195

196196
describe('Navigation', () => {
197197
it('should have router methods', () => {
198-
const { useRouter } = require('next/navigation');
199198
// Mock the router since we can't use hooks outside components
200199
const mockRouter = {
201200
push: vi.fn(),
@@ -213,7 +212,6 @@ describe('Authentication System', () => {
213212
});
214213

215214
it('should have search params', () => {
216-
const { useSearchParams } = require('next/navigation');
217215
// Mock the search params since we can't use hooks outside components
218216
const mockSearchParams = new URLSearchParams();
219217

0 commit comments

Comments
 (0)