nconf-lite/test/fixtures/data.js

30 lines
485 B
JavaScript
Raw Normal View History

/*
* data.js: Simple data fixture for configuration test.
*
2014-11-26 06:31:48 +00:00
* (C) 2011, Charlie Robbins and the Contributors.
*
*/
2014-11-26 06:31:48 +00:00
exports.data = {
isNull: null,
2014-11-26 06:31:48 +00:00
literal: 'bazz',
arr: ['one', 2, true, { value: 'foo' }],
obj: {
host: 'localhost',
port: 5984,
array: ['one', 2, true, { foo: 'bar' }],
auth: {
username: 'admin',
password: 'password'
}
}
};
exports.merge = {
prop1: 1,
prop2: [1, 2, 3],
prop3: {
foo: 'bar',
bar: 'foo'
}
};