Skip to content
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

Should not throw error when files.length == 0 #2002

Closed
mariodu opened this issue Dec 11, 2015 · 1 comment
Closed

Should not throw error when files.length == 0 #2002

mariodu opened this issue Dec 11, 2015 · 1 comment
Labels
type: bug a defect, confirmed by a maintainer

Comments

@mariodu
Copy link

mariodu commented Dec 11, 2015

Directory structure likes below:

tests/
    units/

In units, there isn't any file. When I use mocha to run this path, it throws can't resolve path, but glob(path) returns []. Maybe, it shouldn't throw error.

tests/
    units/
        lib-test.js

If directory structure likes above, it works well.

see pull request #2001

@drazisil drazisil added type: bug a defect, confirmed by a maintainer confirmed labels Mar 30, 2017
@drazisil
Copy link

Believe fixed by merged #2450, no activity in one year, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug a defect, confirmed by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants