You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
464 B
30 lines
464 B
|
7 months ago
|
/*
|
||
|
|
* data.js: Simple data fixture for configuration test.
|
||
|
|
*
|
||
|
|
* (C) 2011, Nodejitsu Inc.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
exports.data = {
|
||
|
|
isNull: null,
|
||
|
|
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'
|
||
|
|
}
|
||
|
|
};
|