-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
🐛 Bug Report
Jest breaks util.promisify(setTimeout)
functionality when using fake timers.
When running code with jest-fake-timers
it doesn't have the field setTimeout[util.promisify.custom]
, even in jest-environment-node
(jest-environment-jsdom
correctly doesn't have it).
(Updated description to refer to the specific jest-fake-timers
problem)
envinfo
System:
OS: Linux 4.19 Netrunner 19.08 (Indigo)
CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Binaries:
Node: 12.12.0 - /bin/node
npm: 6.12.0 - /bin/npm
npmPackages:
jest: ^24.9.0 => 24.9.0