Tools for Component Testing and CDD
New: Cypress Component Testing (Beta)
Install:
yarn add --dev cypress or npm i --save-dev cypress
Configuring:
npx cypress open
Choosing Component Testing and follow the process (Framework, Configuration files, Browser)
Open component testing directly:
npx cypress open --component
Using cy.mount() instead of cy.visit():
MountConfig<T> (extends TestModuleMetadata)