rename map in tests

This commit is contained in:
Ron Young
2017-12-21 09:19:00 -06:00
committed by Tim Schaub
parent ad5664e1ab
commit 9fa59d0735
49 changed files with 131 additions and 131 deletions

View File

@@ -1,4 +1,4 @@
import _ol_Map_ from '../../../../src/ol/Map.js';
import Map from '../../../../src/ol/Map.js';
import _ol_View_ from '../../../../src/ol/View.js';
import EventTarget from '../../../../src/ol/events/EventTarget.js';
import Interaction from '../../../../src/ol/interaction/Interaction.js';
@@ -26,7 +26,7 @@ describe('ol.interaction.Interaction', function() {
describe('#getMap()', function() {
it('retrieves the associated map', function() {
var map = new _ol_Map_({});
var map = new Map({});
var interaction = new Interaction({});
interaction.setMap(map);
expect(interaction.getMap()).to.be(map);
@@ -42,7 +42,7 @@ describe('ol.interaction.Interaction', function() {
describe('#setMap()', function() {
it('allows a map to be set', function() {
var map = new _ol_Map_({});
var map = new Map({});
var interaction = new Interaction({});
interaction.setMap(map);
expect(interaction.getMap()).to.be(map);