Closed dfernandez79 closed 10 years ago
I just realise that #73 does the same, but with a different approach for the unit tests.
Please consider to merge any of the PRs, this prevents some projects to upgrade from 0.10.
I like the approach to the unit tests. thanks
released as 0.13.1
For versions <= 0.10.0 it was possible to create an alias to a function. The regression was introduced by https://github.com/firstandthird/load-grunt-config/commit/665ce854afa48540f11e0ff49872af35fd0e1760#diff-d41d8cd98f00b204e9800998ecf8427e
To reproduce, create an alias to a function:
aliases.coffee:
If you run that alias with grunt, the following message appears:
This PR fixes that regression, and adds a unit test for it. The unit test needs to overwrite the
loadGruntConfig
mock set atsetup
to avoid more changes in other tests.