test: reject fractional wiki timeout values

Agent-Logs-Url: https://github.com/abhigyanpatwari/GitNexus/sessions/2f7def72-828c-419c-a5db-1bf1e2f10203
This commit is contained in:
copilot-swe-agent[bot] 2026-05-17 07:27:05 +00:00 • committed by GitHub
parent 24ad0048a9
commit e85de16bd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,7 +282,7 @@ describe('wikiCommand --timeout validation', () => {
process.exitCode = originalExitCode;
});
it.each(['', ' ', '0', '-1', 'abc'])(
it.each(['', ' ', '0', '-1', 'abc', '3.14'])(
'rejects invalid --timeout value %s before starting generation',
async (timeout) => {
const generatorCtor = vi.fn().mockImplementation(() => ({