Skip to content

Commit

Permalink
Docs: Fix jest configuration with babel (vercel#70427)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Sep 24, 2024
1 parent a926b56 commit ccd3fbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module.exports = {

// Handle image imports
// https://jestjs.io/docs/webpack#handling-static-assets
'^.+\\.(png|jpg|jpeg|gif|webp|avif|ico|bmp|svg)$/i': `<rootDir>/__mocks__/fileMock.js`,
'^.+\\.(png|jpg|jpeg|gif|webp|avif|ico|bmp|svg)$': `<rootDir>/__mocks__/fileMock.js`,

// Handle module aliases
'^@/components/(.*)$': '<rootDir>/components/$1',
Expand Down

0 comments on commit ccd3fbf

Please sign in to comment.