Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude tests from compiler #31

Open
GJKrupa opened this issue Mar 3, 2021 · 1 comment
Open

Exclude tests from compiler #31

GJKrupa opened this issue Mar 3, 2021 · 1 comment

Comments

@GJKrupa
Copy link

GJKrupa commented Mar 3, 2021

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'.
@preeesha
Copy link

preeesha commented Feb 7, 2024

Hey, @d-gubert, I would love to work on this feature as I myself feel its need. Can you please provide me a green signal so that I can start working?

Thanks for your time and consideration
Prisha Gupta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants