3c11ef50e5
The previous test was expecting the .match value to be a function rather than a regexp which is what the README shows. So I've fixed the code to match against a real regexp, and test if the stringified version of the regexp function is [object RegExp]. I've also updated the tests to prime the process.env with values that are specifically tested for to ensure it's correctly loading the env values. Fixex indexzero/nconf#178 |
||
---|---|---|
.. | ||
fixtures | ||
mocks | ||
stores | ||
common-test.js | ||
complete-test.js | ||
helpers.js | ||
hierarchy-test.js | ||
nconf-test.js | ||
provider-save-test.js | ||
provider-test.js |