Uh oh!
There was an error while loading. Please reload this page.
test: edited assertion and timeout for test - #9889
Conversation
In this change, the setTimeout needed a second argument, so I set that value to 0. In addition, I changed the assertion to be a strictEquals instead of equals.
danielgsims
commented
Dec 1, 2016
This was from the Code & Learn at NINA. |
| }); | ||
| }); | ||
| }); | ||
| }, 0); |
There was a problem hiding this comment.
I assume this should be a timer for the purposes of this test, even though it is effectively a setImmediate().
There was a problem hiding this comment.
It should probably also be a duration of 1. Duration of 0 gets changed to 1 internally anyways.
Trott
commented
Dec 1, 2016
Trott
commented
Dec 5, 2016
@lpinca IAre you sure about the |
lpinca
commented
Dec 5, 2016
@Trott no, I'm not honestly not sure. Happy to keep |
I changed the var declarations to const in this unit test
danielgsims
commented
Dec 6, 2016
Changed var declarations. Let me know if there's anything else. |
lpinca
commented
Dec 6, 2016
@danielgsims Thanks! |
jasnell
commented
Dec 7, 2016
Trott
commented
Dec 7, 2016
Landing. While landing, I'll change the |
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: nodejs#9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Trott
commented
Dec 7, 2016
Landed in b0c10a2. |
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: #9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: nodejs#9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: #9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: #9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: #9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
test
Description of change
In this change, the setTimeout needed a second argument, so I set that
value to 0. In addition, I changed the assertion to be a strictEquals
instead of equals.