-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update errors.spec.js #718
Conversation
Updating errors.spec.js to use const/let appropriately instead of var.
Codecov Report
@@ Coverage Diff @@
## master #718 +/- ##
=======================================
Coverage 86.71% 86.71%
=======================================
Files 16 16
Lines 1746 1746
=======================================
Hits 1514 1514
Misses 232 232 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #718 +/- ##
=======================================
Coverage 86.71% 86.71%
=======================================
Files 16 16
Lines 1746 1746
=======================================
Hits 1514 1514
Misses 232 232 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good. I noticed a few things you can fix, and left some comments. Also note: for all the uses of let
they could actually be const
, but I only mentioned the first two.
- Changed corrected 'using' to 'use'. - Changed 'let' to 'const' becuase the're not being changed during the function scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks great.
Updating errors.spec.js to use const/let appropriately instead of var.