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