node/test/parallel/test-timers-clear-object-do...

9 lines
164 B
JavaScript

'use strict';
require('../common');
// This test makes sure clearing timers with
// objects doesn't throw
clearImmediate({});
clearTimeout({});
clearInterval({});