test('timeout is occured', (done) => {
  expect('stringA').toBe('stringA');
  setTimeout(done, 10000);
});

test('timeout occurred', (done) => {
  expect('stringA').toBe('stringA');
  setTimeout(done, 10000);
});

adjust sample tests