-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make it Modular: Issue when using named imports for fs
#700
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I noticed a potential issue in the "Make it Modular" exercise. When importing
readdir
using a named import like this:I get the following error:
However, if I use default imports like this:
It verifies correctly. I think this may be due to how you're mocking
fs.readdir
.Not sure what the more flexible fix would be, but I'd be happy to help if you point me in the right direction!
The text was updated successfully, but these errors were encountered: