ng-pom-testing
Version:
Utilities for easy DOM testing using the page-object-model pattern
16 lines (15 loc) • 514 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var merge_config_1 = require("./merge-config");
describe('mergeConfig', function () {
it('should handle more than two config objects', function () {
var a = { a: 'a' };
var b = { a: 'b.a', b: 'b' };
var c = { c: 'c', b: 'c.b' };
expect((0, merge_config_1.mergeConfig)(a, b, c)).toEqual(expect.objectContaining({
a: 'b.a',
b: 'c.b',
c: 'c',
}));
});
});