Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-09-13 19:54:56 +0300
committerRich Trott <rtrott@gmail.com>2020-09-15 20:51:36 +0300
commitae257ca0008cd6d01d477d927fa9962d8f406c5f (patch)
tree1d47f4c130ada00084630ec3dcb364629d7f69b9 /doc
parent26e660f9627f776678106d0afa7da428c44c45cf (diff)
test: improve pummel/test-timers.js
* use Date.now() instead of new Date() because only the timestamp is ever used, so we don't need the full Date object * use separate start times recorded for the two different test cases * improve assertion messages PR-URL: https://github.com/nodejs/node/pull/35175 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions