]> gerrit.simantics Code Review - simantics/district.git/blob - test/utils.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / test / utils.js
1 'use strict';
2
3 var test = require('tape');
4 var utils = require('../lib/utils');
5
6 test('merge()', function (t) {
7     t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
8     t.end();
9 });