Use Jest to create a unit test case for the "EmptyState" component. Create a test case under tests/components/empty-state.tsx
Use the Jest docs if you need help, but heres a simple sample you can use,
import '@testing-library/jest-dom'
import { render, screen } from '@testing-library/react'
describe("description", () => {
it("What does this test case do?", () => {
// Enter test setup here such as mock data, react components, etc
// Enter test logic here
// Do test assert here
})
})
The footer component is in /components/main/empty-state.tsx
Use Jest to create a unit test case for the "EmptyState" component. Create a test case under tests/components/empty-state.tsx
Use the Jest docs if you need help, but heres a simple sample you can use,
The footer component is in /components/main/empty-state.tsx