Skip to content

Improve unit test spec file filtering #170

Closed
@bahmutov

Description

@bahmutov

right now one can get empty unit test coverage IF the specs and the source files are in the same folder. Take an application where specs and source files are mixed in the same folder "src"

integrationFolder: src
testFiles: **/*spec.js
supportFile: ./support.js

Screen Shot 2020-04-04 at 2 56 57 PM

Since we compare against prefix, all files are eliminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions