nconf-lite/test
Remy Sharp 3c11ef50e5 fix: env.match test
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
2015-08-04 10:30:33 -07:00
..
fixtures replace optimist with yargs 2015-07-07 13:06:41 -07:00
mocks [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00
stores [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00
common-test.js [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00
complete-test.js fix: env.match test 2015-08-04 10:30:33 -07:00
helpers.js [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00
hierarchy-test.js Revert "fixing the tests" 2014-11-26 12:49:50 -05:00
nconf-test.js Revert "fixing the tests" 2014-11-26 12:49:50 -05:00
provider-save-test.js [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00
provider-test.js [dist fix] Cleanup some whitespace. 2014-11-26 01:31:48 -05:00