ESLint: 'cy' is not defined (Cypress)
I've just started using Cypress with my React Typescript project. I've gotten some simple tests to run: describe('settings page', () => { beforeEach(() => { cy.visit('http://localhost:3000') }); it('starts in a waiting state, with no settings.', () => { cy.contains('Waiting for settings...') }); it('shows settings once settings are received', () => { const state = cy.window().its('store').invoke('getState') console.log(state) // different question: how do I get this to be the state and not a $Chainer?