I have function which uses fetch and I need to test them. This function gets json from two fetches and returns a html code.
export async function generateItem