feat(FN-1761): fix lint errors in remaining test files
- child-process-worker.test.ts: replace Function[] with SignalListener type - remote-node-runtime.test.ts: add yield statement to idleStream generator - All 57 test files pass with 0 errors
This commit is contained in:
@@ -40,6 +40,8 @@ async function* idleStream(signal?: AbortSignal): AsyncIterable<unknown> {
|
||||
while (!signal?.aborted) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 5));
|
||||
}
|
||||
// Yield to satisfy TypeScript/ESLint generator requirements
|
||||
yield;
|
||||
}
|
||||
|
||||
async function* eventStream(events: unknown[], signal?: AbortSignal): AsyncIterable<unknown> {
|
||||
|
||||
Reference in New Issue
Block a user