utils.js 242 B

123456789
  1. 'use strict';
  2. var test = require('tape');
  3. var utils = require('../lib/utils');
  4. test('merge()', function (t) {
  5. t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
  6. t.end();
  7. });