Dylan Conway
465379d96a
add Timeout.prototype.close, _idleTimeout and _onTimeout ( #19318 )
2025-04-28 00:25:25 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Meghan Denny
1eb5ecb563
ci: fix setInterval.test.js on windows ( #13213 )
2024-08-10 00:53:23 -07:00
Jarred Sumner
45d0c1432b
rewrite timers for setTimeout, setInterval, setImmediate ( #11419 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-30 02:11:12 -07:00
Ciro Spaciari
90fd322b5c
fix timer tests ( #8804 )
2024-02-09 14:00:47 -08:00
Meghan Denny
1644f341f9
windows: setInterval.test.js is passing now ( #8508 )
2024-01-26 14:11:03 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Jarred Sumner
c5436c09ab
Fix setInterval regression ( #7776 )
...
* Fix setInterval regression
* Add some comments
* Add another test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-12-21 18:00:24 -08:00
Jarred Sumner
b43a8b54cf
Implement expect.unreachable(msg?: string | Error) ( #7131 )
...
* Implement `expect.unreachable`
* UIse expect.unreachable() in some tests
* Use more unreachable
* More unreachable
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-15 16:14:13 -08:00
Ciro Spaciari
bf9e40d5b4
feat(Timer.refresh) add refresh support on Timer ( #2874 )
...
* add refresh support on Timer
* fix this return
* add refresh setTimeout tests
* fix tests and add setInterval test
* use setCached for arguments and callback
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-05-14 10:18:56 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00