summaryrefslogtreecommitdiff
path: root/test/parallel/test-promises-unhandled-rejections.js
diff options
context:
space:
mode:
authorDaniel Sims <danielsims@quickenloans.com>2016-12-01 10:54:07 -0600
committerRich Trott <rtrott@gmail.com>2016-12-22 18:33:25 -0800
commit9fd79c9f5ba57f73783478e26555591b0c30f8c8 (patch)
treeae47b08efe6d9458f5f063f24c46691d0329c3a6 /test/parallel/test-promises-unhandled-rejections.js
parentb2321c24dc4bec8f148e0b30cae4ff18f2133c14 (diff)
downloadnode-new-9fd79c9f5ba57f73783478e26555591b0c30f8c8.tar.gz
test: change var declarations, add mustCall check
In this test, I changed the var declarations to be either a let or a const. For some of the callbacks, I added a mustCall check to ensure that the functions have run. I also changed assert.equal() to assert.strictEqual(). PR-URL: https://github.com/nodejs/node/pull/9962 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-promises-unhandled-rejections.js')
0 files changed, 0 insertions, 0 deletions