title: Jest coverage - if statement in switch statement
body: <p>I am trying to achieve 100% test coverage and can't seem to pin down why this code isn't being covered with the tests I have</p>
  
  <p>code:</p>
  
  <pre><code>    case "Premier":
          {
              if(usagePercentage !== '100%'){
                  return (
                      &lt;div className='messageText__paid'&gt;
                          &lt;p className='messageText__paid__revenueGenerated'&gt;Revenue generated this cycle: ${revenue}&lt;/p&gt;
                          &lt;p className='messageText__paid__review'&gt;Love boop? &lt;a href=''&gt;Leave a review&lt;/a&gt;&lt;/p&gt;
                      &lt;/div&gt;
                      )
              }
              if(usagePercentage === '100%'){
                  return (
                      &lt;div className='messageText__paid__limitCap'&gt;
                          &lt;p&gt;You’ve hit your usage cap for your current plan, contact us&lt;/p&gt;
                      &lt;/div&gt;
                      )
              }
          }
  </code></pre>
  
  <p>test:</p>
  
  <pre><code>let generatedMessage = shallow(generateMessage('Premier', 1756.11, '100%'))
  
          it('should generate the plan cap warning', () =&gt; {
              expect(generatedMessage.hasClass('messageText__paid__limitCap')).toEqual(true)
          })
          let generatedMessage = shallow(generateMessage('Premier', 1756.11, '55%'))
  
          it('should generate the paid plan message', () =&gt; {
              expect(generatedMessage.hasClass('messageText__paid')).toEqual(true)
          })
  </code></pre>