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

Change the tests path if the modules folder is customized #120

Open
vladejs opened this issue Jul 24, 2017 · 0 comments
Open

Change the tests path if the modules folder is customized #120

vladejs opened this issue Jul 24, 2017 · 0 comments

Comments

@vladejs
Copy link

vladejs commented Jul 24, 2017

Currently I can set modulesPath variable to any location, for example: /client/imports/modules/, but when I create a component/container, tests are still being created under /client/modules/.

Tests should always follow the path of modules folder. The ideal scenario is to enable another setting on mantra-cli.yml:

testsPath = testsPath || modulesPaths.

That way, if I set a testsPath setting, mantra uses that path to generate tests. Otherwise, it uses modulesPath.

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