Skip to content

Commit 8bcb174

Browse files
committed
test: fix test-timers.reliability on OS X
Fixes: #4404 PR-URL: #5379 Reviewed-By: Julien Gilli <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent d26417f commit 8bcb174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/timers/test-timers-reliability.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var intervalFired = false;
3232
*/
3333

3434
var monoTimer = new Timer();
35-
monoTimer.ontimeout = function() {
35+
monoTimer[Timer.kOnTimeout] = function() {
3636
/*
3737
* Make sure that setTimeout's and setInterval's callbacks have
3838
* already fired, otherwise it means that they are vulnerable to

0 commit comments

Comments
 (0)