- 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.
23 lines
528 B
JavaScript
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.')
|
|
})
|