10 lines
242 B
JavaScript
Executable File
10 lines
242 B
JavaScript
Executable File
'use strict';
|
|
|
|
var test = require('tape');
|
|
var utils = require('../lib/utils');
|
|
|
|
test('merge()', function (t) {
|
|
t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
|
|
t.end();
|
|
});
|