import { describe, it, expect, beforeEach } from 'vitest' import { http } from 'msw' import { server } from './msw/server' import { jsonResponse } from './msw/helpers' import { renderWithProviders, screen, waitFor, userEvent } from './helpers/render' import { seedBearer, clearBearer } from './helpers/auth' import SettingsPage from '../src/features/settings/SettingsPage' // AZ-475 — Numeric form input — empty / non-numeric rejection // // AC-1 (FT-N-11): clearing a numeric field MUST surface a validation error // and prevent the PUT from firing. Silent zero is a regression. // AC-2 (FT-N-12): typing a non-numeric value MUST surface a validation error // and prevent the PUT from firing. // // Production drift (`src/features/settings/SettingsPage.tsx:38-48, 59-60`): // 1. `