Skip to content
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
This repository was archived by the owner on Sep 2, 2020. It is now read-only.

Allow paths from base of repository in requires #1

Description

@maurits-tellow

Take the following controllers for example:

  • src/app/controllers/foo.controller.ts
  • src/app/controllers/my-group/bar.controller.ts

And we want to add the requirement for an e2e test file: src/test/e2e/{{name}}.ts

requires: ['../../test/e2e/{{name}}.ts'], then only works for foo.controller.ts.

Add support for: requires: ['src/test/e2e/{{name}}.ts'], and only resolve ./ and ../ from the files own directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions