Skip to content

Exclude tests from compiler #31

@GJKrupa

Description

@GJKrupa

Related to RocketChat/Rocket.Chat.Apps-cli#43

I've added some Jest tests to my app which should be excluded from the package (all the tests are named *.spec.ts) but when I try to package the app with rc-apps v1.8.1 it I'm getting the following error because the app compiler appears to be trying to compile the tests without including the Jest dependency from package.json:

$ rc-apps package
packaging your app... !
 ›   Error: Error src/StandardTickets.spec.ts (9,1): Cannot find name 'beforeEach'.

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