title: What to do if error TS2304: Cannot find name 'before' ocures
body: <p>I am trying to implement some cypress tests for work and I am getting the error above:  error TS2304: Cannot find name 'before'. i am new to cypress and dont really know what to do with this, the command in the before does work but affterwards in the tests it gives an error.</p>
  
  <pre><code>describe('Qualifications List Overview', () =&gt; {
  
    before ( () =&gt; {
      navigateToSite('#/management/qualification');
    });
  
  
  
    it('should open Qualification Table', () =&gt; {
     QualificationList
       .displayQualificationTable();
  
  
    });
  
    it('should navigate to Qualifiation edit modal, check values and close modal', () =&gt; {
      QualificationList
        .openQualificationEditModal()
        .checkCurrentQualificationValues()
        .closeQualificationModal();
    });
  
  
  
  });
  </code></pre>
  
  <p>Methods QualifiationList</p>
  
  <pre><code>    export class QualificationList {
  
  
  
    static displayQualificationTable() {
      return cy.get('#management-qualification--')
        .should('be.visible')
        .get('datatable-body-row')
        .should('have.length.greaterThan', 0);
    }
  
    static openQualificationEditModal() {
      cy.get('#QualificationUpdate')
        .first()
        .should('not.be.empty')
        .click({force: true})
        .wait(2000);
      return this;
    }
  
    static checkCurrentQualificationValues() {
      cy.get('#Qualification Name')
        .invoke('val')
        .should('not.be.empty')
        .get('id')
        .invoke('val')
        .should('not.be.empty');
      return this;
    }
  
    static closeQualificationModal() {
      cy.get('button')
        .contains('Cancel')
        .click();
      return this;
    }
  
  }
  </code></pre>