mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-22 04:19:40 +00:00
test(cli-runtime): satisfy no-explicit-any lint rule
This commit is contained in:
@@ -34,7 +34,11 @@ test("#20486: claude healthcheck accepts a version probe slower than the old 4s
|
||||
// A version answer after 5.1s: past the previous 4s default, inside the
|
||||
// 15s limit introduced by this PR.
|
||||
childProcess.spawn = () => {
|
||||
const child: any = new EventEmitter();
|
||||
const child = new EventEmitter() as EventEmitter & {
|
||||
stdout: EventEmitter;
|
||||
stderr: EventEmitter;
|
||||
kill: () => boolean;
|
||||
};
|
||||
child.stdout = new EventEmitter();
|
||||
child.stderr = new EventEmitter();
|
||||
child.kill = () => true;
|
||||
|
||||
Reference in New Issue
Block a user