restore
Ripristina tutte le funzioni native sovrascritte. Questo viene chiamato automaticamente tra i test, quindi generalmente non dovrebbe essere necessario.
Utilizzo
const clock = await browser.emulate('clock', { ... })
await clock.restore()
Ripristina tutte le funzioni native sovrascritte. Questo viene chiamato automaticamente tra i test, quindi generalmente non dovrebbe essere necessario.
const clock = await browser.emulate('clock', { ... })
await clock.restore()