/** @type {import('jest').Config} */ module.exports = { ...require('../../jest.config'), testEnvironmentOptions: { url: 'http://localhost/', }, globalSetup: '/test/setup.ts', globalTeardown: '/test/teardown.ts', setupFilesAfterEnv: ['/test/setup-mocks.ts'], moduleNameMapper: { '^@/(.*)$': '/src/$1', '^@db/(.*)$': '/src/databases/$1', }, };