title: In TestCafe, is there a way to run an assertion that passes if the selector matches if 1 of 2 possible values?
body: <p>Right now have I a test with an assertion that checks for today's date. However, because of time zone issues, it will start failing at a certain time of day, because the report correctly shows &quot;tomorrow's&quot; date while TestCafe is looking for what it has as today's date.</p>
  <p>Basically, I would like to write an assertion that passes if it shows either today or tomorrow's date, but fail for all other values.</p>
  <p>Is there a way to write an assertion that checks for 1 of 2 values? Is there some way to use an OR operator in an assertion?</p>
  <p>Something along the lines of:</p>
  <pre><code>await t
      .expect(Site.reportValues.reportHeaderInfo.innerText)
      .contains({ todaysDate || tomorrowsDate }, 
      &quot;Report header should show either today's date or tomorrow's date&quot;,
      );
  </code></pre>