Currently the tests just use an analog, to feed the meta in and test against the resulting meta.
I ran into trouble with this in PR #7, tests were passing but plugin wouldn't work when called by metalsmith (I can't remember exactly what the bug was sorry)
Anyhow.. seems sensible to run the tests against an actual metalsmith instance.
Currently the tests just use an analog, to feed the meta in and test against the resulting meta.
I ran into trouble with this in PR #7, tests were passing but plugin wouldn't work when called by metalsmith (I can't remember exactly what the bug was sorry)
Anyhow.. seems sensible to run the tests against an actual metalsmith instance.