renderHook()
from
React HooksのTest
https://testing-library.com/docs/react-testing-library/api/#renderhook
いちいちComponentを定義せずにhooksを呼べる