Cypress - Component Testing
What is wrong with this Cypress component test code?
import { mount } from 'cypress/react';
import MyComponent from './MyComponent';
describe('MyComponent', () => {
it('renders correctly', () => {
mount(MyComponent);
cy.get('div').should('exist');
});
});