()
| 14 | const nextId = (): string => `id-${++counter}`; |
| 15 | |
| 16 | export const resetCounter = (): void => { |
| 17 | counter = 0; |
| 18 | }; |
| 19 | |
| 20 | export const makeUser = (overrides: Partial<User> = {}): User => ({ |
| 21 | id: overrides.id ?? nextId(), |
no outgoing calls
no test coverage detected