Skip to content
Snippets Groups Projects
Commit 1818af99 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test for opening data overlay

parent 65a4e519
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -80,6 +80,15 @@ describe('CustomMap', function() {
assert.equal(logger.getErrors().length, 0);
});
it("openLayout 2", function() {
var options = helper.createCustomMapOptions();
var model = options.getProject().getModel();
var layout = model.getLayouts()[0];
var map = new CustomMap(options);
map.openLayout(layout);
assert.equal(logger.getErrors().length, 0);
});
it("openLayout (string id)", function() {
var options = helper.createCustomMapOptions();
var model = options.getProject().getModel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment