Files
websitedev/proto/jest.setup.integration.js
T
Do Siki b0df8dd182 feat: enhance README and TODO documentation, implement mobile menu functionality in Header component
- Updated README.md with project details, quick start instructions, and tech stack.
- Expanded TODO.md to reflect current project status and backlog items, including Linear ticket synchronization.
- Added mobile menu toggle functionality in Header component with corresponding tests for user interactions.
- Configured Next.js for Docker deployment and optimized build settings.
2025-09-05 17:28:52 +02:00

23 lines
528 B
JavaScript

// Jest setup for integration tests
const { fetch, Headers, Request, Response } = require('undici')
// Polyfill fetch for Node.js environment
if (!global.fetch) {
global.fetch = fetch
global.Headers = Headers
global.Request = Request
global.Response = Response
}
// Set longer timeout for integration tests
jest.setTimeout(30000)
// Global test environment setup
beforeAll(() => {
console.log('🚀 Starting integration test suite...')
})
afterAll(() => {
console.log('✅ Integration test suite completed.')
})