☰
Debian Codegraph
@
3.1.1+~cs11.23.43-1
/
/
timers-ext
/
test
/
valid-timeout.js
☽
☼
timers-ext/test/valid-timeout.js
code
plain
raw
ISC
2012-2022, Mariusz Nowak <
[email protected]
>
debian/copyright
1
"use strict";
2
3
module.exports = function (t, a) {
4
a(t(NaN), 0, "NaN");
5
a(t(-343), 0, "Negative");
6
a(t(232342), 232342, "Positive");
7
a.throws(function () { t(1e23); }, TypeError, "Too large");
8
};