repo_description: The React Framework
repo_topics: blog browser compiler components hybrid nextjs node react server-rendering ssg static static-site-generator universal vercel
code: const createJestDefaultConfig = require('./jest.config.js')
  
  module.exports = async function createConfig() {
    const jestDefaultConfig = await createJestDefaultConfig()
    /** @type {import('jest').Config} */
    const customConfig = {
      ...jestDefaultConfig,
      displayName: 'Turbopack',
      setupFiles: [
        ...(jestDefaultConfig.setupFiles ?? []),
        '<rootDir>/jest-setup-files.turbopack.js',
      ],
    }
  
    return customConfig
  }
  