Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions frontend/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ const config: Config = {
// ],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
// "/node_modules/"
// ],
testPathIgnorePatterns: ['/node_modules/', '/.next/', '<rootDir>/tests/'],

// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jest.mock('@/components/common/Modal', () => {
};
});

jest.mock('@/components/common/Portal', () => {
return function MockPortal({ children }: { children: React.ReactNode }) {
return <div id="mock-portal">{children}</div>;
};
});

describe('MeetingFormModal 컴포넌트 테스트', () => {
const closeModal = jest.fn();
const push = jest.fn();
Expand Down
Loading