test('todo count', () => {
const { result } = renderHook(() => useTodo())
})
// context
export const useTodo = () => {
const context = useContext(TodoContext)
if (!context) {
throw new Error('useTodo must be used within a TodoProvider')
}
return context
}