Cognizant-CDE-Australia / generator-confit

Build-tool generator for current and future web.
https://odecee.github.io/generator-confit
Other
29 stars 3 forks source link

Make the `test.files.js.tpl` template less brittle #9

Closed uglow closed 8 years ago

uglow commented 8 years ago

Change test.files.js.tpl so that the relative path is injected as a template variable, not hard-coded based on assumptions of location of 'src/' and 'config/' directories.

Currently, the file assumes the location of the src directory relative to the config/webpack directory. If these default directories are changed, this file will break.

Add a test fixture which has different depth src and config directories to verify changes work correctly