mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-08 03:08:13 +00:00
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:
parent
24ad0048a9
commit
e85de16bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -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(() => ({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue