First of all, thanks for writing gulp-chef.
I am writing a gulp-ccr-layouts plugin similar to what metalsmith-layouts provides.
In this plugin, I want to write tests also validating the different configuration options. Once you start with a JSON Schema using the 'oneOf' option, it makes sense to validate the different code paths.
Is it possible to have a utility function available that loads the config according the schema in my plugin and have it available as a hash afterwards?
First of all, thanks for writing gulp-chef.
I am writing a gulp-ccr-layouts plugin similar to what metalsmith-layouts provides.
In this plugin, I want to write tests also validating the different configuration options. Once you start with a JSON Schema using the 'oneOf' option, it makes sense to validate the different code paths.
Is it possible to have a utility function available that loads the config according the schema in my plugin and have it available as a hash afterwards?