* 🚀 refactor: simplify deployment process in workflow file * 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow * ✨ chore: simplify deployment logging in workflow file * 🚀 fix: correct container name in deployment script logic * 🚀 refactor: rename job and streamline deployment steps * Update README.md * ✨ fix: prevent multiple form submissions in Contact component * ✨ feat: honeypot and timestamp checks to form submission * ✨ refactor: simplify contact form and improve UI elements * ✨ feat: add responsive masonry layout for projects display * ✨ style: Update project title size and improve layout visibility * ✨ fix: remove unnecessary test assertions and improve act usage
16 lines
477 B
TypeScript
16 lines
477 B
TypeScript
import 'whatwg-fetch';
|
|
import React from "react";
|
|
|
|
jest.mock("react-responsive-masonry", () => ({
|
|
__esModule: true,
|
|
default: ({ children }: { children: React.ReactNode }) =>
|
|
React.createElement("div", null, children),
|
|
get ResponsiveMasonry() {
|
|
return ({ children }: { children: React.ReactNode }) =>
|
|
React.createElement("div", null, children);
|
|
},
|
|
}));
|
|
|
|
jest.mock('next/link', () => {
|
|
return ({ children }: { children: React.ReactNode }) => children;
|
|
}); |