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

No possibility to use KopytkoFramework without a plugin to remove unit tests #51

Open
pawelhertman opened this issue Jan 11, 2022 · 0 comments

Comments

@pawelhertman
Copy link
Contributor

This is a Feature Proposal

Description

Currently, without a custom plugin to remove unit tests there is no possibility to use Kopytko Framework out-of-the-box. It is caused by having mocks in the official npm package (it's intended and fine) - mock files are trying to import from the @dazn/kopytko-unit-testing-framework package which I'm not using. So I need to write a plugin to remove any _mocks directories. I think a property of paths to exclude from the package per environment and per project would solve the problem (I recommend then to update README of the Framework to exclude mocks from non-test envs)

image

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

1 participant