Adrien Becchis
e5db2ef6d7
Argv store separator ( #291 )
...
* argv store now accept a separator argument to create nested values
* remove stub file that shouldnt have been commited
* write a test to ensure separator is working well and use delete rather than undefined assign
2017-11-04 21:30:14 -04:00
Matt Hamann
ca10d0eaf8
Add basic linting rules
2017-10-21 16:01:06 -04:00
Chris Manson
608b607782
Add test for merging with defaults ( #255 )
...
* implementing a test for merging with defaults
* bypassing strange common tests
* trying to fix travis build in node 7
* adding node 8 to tests
* removing node 8
2017-08-15 23:37:19 -04:00
indexzero
2030144d88
[test dist] Add test/fixtures/secure.json
.
2015-09-20 00:36:49 -07:00
Christian Murphy
80ec01b91d
replace optimist with yargs
2015-07-07 13:06:41 -07:00
Jarrett Cruger
6271cdb35d
Revert "fixing the tests"
...
This reverts commit f69e43a423
.
2014-11-26 12:49:50 -05:00
indexzero
af0e9fb7e7
[dist fix] Cleanup some whitespace.
2014-11-26 01:31:48 -05:00
Chris Manson
f69e43a423
fixing the tests
2014-05-27 17:43:24 +01:00
midknight41
f7733c1719
included bom test fixtures
2013-10-03 14:37:39 +01:00
Michael Schoonmaker
5d2ebfbe9f
Added test to confirm merging an Object and null behaves as expected.
2012-12-20 19:02:36 -08:00
Bradley Meck
da39d3cac3
[fix] null values should merge properly instead of throwing errors
2012-09-08 20:10:58 -05:00
Michael Hart
e15f787940
Updated README and allowed a simpley syntax
2012-06-21 17:18:22 +10:00
Michael Hart
92d4e9ea14
Added test and updated docs
2012-06-21 17:04:06 +10:00
Michael Hart
26d81e8dca
Merge objects if necessary when traversing stores on get()
2012-06-13 18:28:54 +05:30
Russell Frank
94bdb7dbd8
Added complete-test.js
& fixture.
...
`complete-test.js` correctly tests the modified `save()` method. It is
an attempt at a more complete functional test of nconf.
2012-05-01 23:27:00 -04:00
Jonathan Stewmon
fdb73f007b
updated tests to verify that Provider.load respects hierarchy
2012-01-02 17:12:08 -05:00
indexzero
6c720ee109
[dist] Update Copyright and Author to Nodejitsu Inc.
2011-11-24 00:33:08 -05:00
indexzero
b658f68a89
[test] Add additional test coverage for hierarchical configuration
2011-11-24 00:30:24 -05:00
indexzero
021850a14d
[test] Move around test .json files
2011-11-24 00:29:51 -05:00
indexzero
0fbc9a2722
[test] Added tests (which are now passing) for #15
2011-11-24 00:29:47 -05:00
indexzero
16a18bffe6
[refactor] Expose all store prototypes on nconf.*
. Expose store instances on Provider.stores and Provider.sources
2011-11-24 00:29:43 -05:00
indexzero
c3cebe7cb4
[refactor] Rename .sources
to ._stores
and bring back ._sources
2011-11-24 00:29:39 -05:00
Sander Tolsma
47a56ccb5a
[test] Test for hierarchical argv options get()
2011-11-24 00:29:27 -05:00
indexzero
c3c315d648
[refactor] Refactor to make using nconf more fluent.
2011-11-24 00:29:15 -05:00
Maciej Małecki
2475d06cb2
[test] Test command line arguments reparsing
2011-11-19 02:02:22 +01:00
indexzero
f867e749b9
[dist] Remove unused test fixtures
2011-09-18 21:38:44 -04:00
indexzero
1ef5797e83
[api test] Finished API and tests for hierarchical configuration storage.
2011-09-18 21:37:01 -04:00
indexzero
fb392ddc51
[api test] Updated test/provider-test.js and associated merge implementation
2011-08-28 08:50:26 -04:00
indexzero
a6533aa7bf
[dist api test] Finished integrating features from reconf and updating associated tests
2011-08-23 06:38:51 -04:00
indexzero
76db254740
[fix test] Update nconf.stores.File to respond with an error when loading malformed JSON async
2011-06-08 00:06:58 -04:00
indexzero
4459ba54a1
[api] Added .merge()
to stores.Memory and stores.Redis
2011-06-05 01:29:14 -04:00
indexzero
0fd847cc33
[doc] Updates to README.md
2011-04-02 04:59:18 -04:00
indexzero
09b8c75383
[api test doc] Internal fixes from testing. More tests and docs
2011-04-02 04:31:20 -04:00