-
Notifications
You must be signed in to change notification settings - Fork 205
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
Require sibling index.js regression #296
Labels
Comments
Seems like a legit bug. Thanks for volunteering to create a PR - that's the spirit! I'd only recommend adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that requiring a sibling
index.js
file in a folder with therequire('.')
notation stopped working since #253I usually have the following structure for components:
and I'd require the file on
spec.js
with:This stopped working on 3.1.0 and I need to
require('./index.js')
which is a bit cumbersome and also in nodejs it's standard to resolverequire('.')
to the sibling index.js file.This is an example breaking test, which passes before 7dc2da6
I'm happy to help with a PR or to complement with more details. Thanks!
The text was updated successfully, but these errors were encountered: