Skip to content

Default test filename convention __tests__ not working #875

Closed
@kentcdodds

Description

@kentcdodds

As the implementer of this extension to the list of default filenames I feel embarrassed that I didn't test this out sooner, but if you see this repo it follows the convention in my project. Unfortunately, running the tests (after npm install) you'll get:

   1 exception


   ✖ Couldn't find any files to test

The project has the following structure:

~/Desktop/ava-bug-test-filename-conventions (master)
👾  $ tree -I node_modules
.
├── package.json
└── public
    └── js
        └── __tests__
            └── thing.js

3 directories, 2 files

Am I doing something wrong or is there a bug here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcurrent functionality does not work as desired

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions