summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_async.js
blob: d07cb21740c37be1d2770fe45ceca067287fb5f3 (plain)
1
2
3
4
5
6
7
8
9
function test() {
  waitForExplicitFinish();
  function done() {
    ok(true, "timeout ran");
    finish();
  }
  // eslint-disable-next-line mozilla/no-arbitrary-setTimeout
  setTimeout(done, 500);
}