Exported globals it would be nice to mock.
setTimeout
clearTimeout
setInterval
clearInterval
setImmediate
clearImmediate
requestAnimationFrame
cancelAnimationFrame
console
process
Date
performance
$ yarn add globl
import { setTimeout } from 'globl'
setTimeout(() => {
console.log('Time\'s up')
}, 1000)