I was set next.config.js
publicRuntimeConfig: {
staticFolder: ``,
},
But I try test cypress component, it returned error.
TypeError
The following error originated from your test code, not from Cypress.
> Cannot read properties of undefined (reading 'publicRuntimeConfig')
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
Cypress could not associate this error to any specific test.
We dynamically generated a new test to display this failure.
how can I solved this?
Help me plz. :(
I was set next.config.js
But I try test cypress component, it returned error.
how can I solved this?
Help me plz. :(