The componentFolder configuration option is now invalid when set on the config object in Cypress version 10.0.0.
It is now renamed to specPattern and configured separately as a component testing property: component.specPattern
{
component: {
specPattern: '...',
},
}
https://on.cypress.io/migration-guide