title: Jest matcher to match any one of three values
body: <p>I have this selector in my component whose default state is <code>'' (empty)</code> string but when <code>change</code> event is fired user can select any one of the three values that is 6, 12 or 24</p>
  
  <pre><code>it("feedform testing the selector feed frequency for value of 6, 12, 24 ", () =&gt; {
    const addFeedForm = shallow(
      &lt;FeedForm
        submitForm={() =&gt; {}}
        setFeedData={() =&gt; {}}
        formType="add"
        feedsubmit={{
          status: null,
          error: {
            formsubmitwarning: "",
            feedname: "",
            feedurl: "",
            feedposttype: "",
            feedfrequency: "",
            feedpost: "",
            feedhashtag: "",
            formloginid: ""
          }
        }}
      /&gt;
    );
    expect(addFeedForm.state().feedfrequency).toEqual("");
    addFeedForm.simulate("change");
    expect(addFeedForm.state().feedfrequency).toEqual(6 || 12 || 24);
  });
  </code></pre>
  
  <p>Now while writing unit test cases for this I quickly went through Jest documentation to find matcher for any one of the three value but found no matcher that does that.</p>
  
  <p>I even tried using <code>|| (or)</code> operator in <code>toEqual</code> and <code>toBe</code> matcher but as you guessed it didn't work. Is there a way to make it work or should I skip the test all together?</p>
  
  <p><strong>Note: I am using Enzyme with Jest</strong></p>