title: Jest - Get Test and Description Name
body: <p>I am trying to get the name of the test name that was passed into <code>it(name: string)</code> Jest function, as well as the description name that was passed into <code>describe(name: string, ....)</code>.</p>
  
  <p>Is there a way to access this somehow?</p>
  
  <p>E.g.</p>
  
  <pre><code>describe("Description", () =&gt; {
    it("Test", () =&gt; {
  
      const description = "How do I get the description name?"
      const test = "How do I get the test name?";
  
      expect(`${description} - ${test}`).toBe("Description - Test");
    });
  })
  </code></pre>
  
  <p><a href="https://codesandbox.io/s/keen-moser-hjjke?fontsize=14&amp;module=%2Findex.test.ts&amp;previewwindow=tests&amp;view=editor" rel="nofollow noreferrer">CodeSandbox Link</a></p>
  
  <p><strong>Update 1</strong></p>
  
  <p>Underlying reason why I want this is because I want to do some custom snapshot naming conventions based on describe, test, and some environment variables (e.g. viewport sizes + mock/real data).</p>