Skip to content

Check parent directory name #51

Description

@armandabric

In a rule check that we do not create a test files (a file containing import test from 'ava';?) in a path that is not in an ignored path like fixtures or helpers.

  • test/units/foo/myTestFile.js should not trigger an error
  • test/units/foo/helpers/myHelper.js should not trigger an error
  • test/units/foo/helpers/myTestFile.js should trigger an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions