The testFiles 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 testing type property: e2e.specPattern or component.specPattern
{
e2e: {
specPattern: '...',
},
component: {
specPattern: '...',
},
}
https://on.cypress.io/migration-guide