title: Jest - How to give describe block access to variables assigned in beforeAll?
body: <p>I would like my describe block to have access to variables assigned inside the beforeAll function.</p>
  <p>For example:</p>
  <pre><code>let variable_1;
  let variable_2;
  
  
  beforeAll(async () =&gt; {
    variable_1 = &quot;hello&quot;;
    variable_2 = await getVariable_2();
  });
  
  describe('Database Testing', () =&gt; {
  
    console.log(variable_1); // why is this undefined?
    console.log(variable_2); // why is this undefined?
  
    test(`Testing`, async () =&gt; {
  
      expect('hi').toEqual('hi');
  
    })
  });
  </code></pre>
  <p>How can I do this?</p>