-
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
Fix issue #681: Updated filer/tests/spec/filer.filesystem.spec.js #695
Conversation
Codecov Report
@@ Coverage Diff @@
## master #695 +/- ##
=======================================
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 #695 +/- ##
=======================================
Coverage 86.71% 86.71%
=======================================
Files 16 16
Lines 1746 1746
=======================================
Hits 1514 1514
Misses 232 232
Continue to review full report at Codecov.
|
Hi, I think you are missing 'use strict' at the top of your file. |
Added |
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 coming along well. There are two main things we need to do to finish it.
-
I think you've gotten confused about what's required for tests with a bug. You've added
tests/bugs/issue681.js
, which isn't actually necessary in this case. Sometimes we do this (i.e., add a test for a particular bug), because we are fixing a problem, and want to add a test to make sure it doesn't get added back again. The tests intests/bugs/*
are all specific to old bugs we don't want to regress. I've left some comments for how to undo this. -
You need to make some changes to use
const
in the final file. What you did is actually correct, but you can useconst
because those variables won't every change.
Changes implemented in commit "issue 681 revision v2" |
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.
Great!
require lines use const instead of var
variable declaration in local scopes use let instead of var