(timeMs: number)
| 2430 | const serverTodos: Array<Todo> = [] |
| 2431 | |
| 2432 | async function sleep(timeMs: number) { |
| 2433 | return new Promise((resolve) => setTimeout(resolve, timeMs)) |
| 2434 | } |
| 2435 | |
| 2436 | async function createTodos(newTodos: Array<Todo>) { |
| 2437 | await sleep(50) |
no outgoing calls
no test coverage detected