Cloud, Software and Data Professional - AWS Community Builder
I am a cloud-first software engineer and data professional, originally from Italy, but I moved to the US in 2016. With my blog, I want to provide digestible overviews of complex topics related to cloud computing, data engineering, and software development, as well as document my journey into tech as an immigrant without a formal CS background. I enjoy working on Open-Source projects and building communities centered on making tech accessible to everyone. I love playing Tetris with my fiancee, I am a slightly above average movie buff, and I like to think about myself as a home chef.
Markdown supported · ⌘↵ to post
Thanks, this was very helpful! The only additional thing I had to do was to add a fileMock.js to stub static assets, containing the following line:
module.exports = "/test-file-stub";
And updating the jest config:
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss|sass)$": "<rootDir>/__mocks__/styleMock.js",
"^pages/(.*)$": "<rootDir>/pages/$1",
"^components/(.*)$": "<rootDir>/components/$1",
"^modules/(.*)$": "<rootDir>/modules/$1",
},
Very interesting article. Next.js is awesome. :)
Btw, use ```js in your code blocks for the syntax highlighting to work.
John B
Hans
Thank you Antonio, a very good document, i've been using antd but you motivated me to take a look to tailwind.