import { setupServer } from 'msw/node'
import { defaultHandlers } from './handlers'

// Node-side MSW server shared by every fast-profile test. The Service-Worker
// runtime (`msw/browser`) is intentionally NOT imported anywhere under tests/;
// see AZ-456 Risk 1 — mixing the two silently bypasses MSW.
export const server = setupServer(...defaultHandlers)
