Path option for test file ?
Hello,
I use a lot --path option in order to create my elements.
For example : yo polymer:el my-element --path foo
But, while my element is created in elements/foo/ as expected, the test file is created in test/. I was expecting it in test/foo, to keep the same path.
Usually, I move it manually and update the test/index.html to match the new path.
Versions:
OS: Mac Yosemite node: v5.0.0 npm: v3.5.2 yo: v1.5.1 generator : v1.2.8
:+1: nice bug :bug: find :mag: @celinelouvet
looks like this is the chunk in question https://github.com/yeoman/generator-polymer/blob/master/el/index.js#L121-L147
We will want to mirror what we are doing here https://github.com/yeoman/generator-polymer/blob/master/el/index.js#L84-L89
Should be a pretty straightforward patch :hammer:
@celinelouvet any interest in opening up a PR for this? I can help you through the process
Thanks again! :sparkles:
Hi,
Why not ! But I won't have time before next week.
Thanks :)
oh awesome, no worries at all, let me know if I can be of any help!