title: How can I use a variable initialized in beforeEach in my test description?
body: <p>I run several tests in a loop and I'd like to use a variable that is in the beforeEach on my test description </p>
  
  <pre><code>for(let i =0; i&lt;3; i++){
          describe("action", () =&gt; {
            let variableToUse: string;
            beforeEach(async () =&gt; {
              variableToUse = await someAction(i);
            });
              it("some test desc " + variableToUse, async () =&gt; {
               //some test using variableToUse
              });
          });
  }
  </code></pre>
  
  <p>I expect the console to show "some test desc varaibleToUseValue" but the actual output is "some test desc undefined"</p>