Require init() call before coreContext starts doing things

(closes #7304)
This commit is contained in:
Bryan Housel
2020-01-29 19:27:12 -05:00
parent fb4d658860
commit e19bcb77d5
45 changed files with 182 additions and 178 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ describe('iD.modeAddNote', function() {
beforeEach(function() {
var container = d3.select(document.createElement('div'));
context = iD.coreContext()
.container(container);
.container(container)
.init();
context.loadTiles = function () {};
+2 -1
View File
@@ -5,7 +5,8 @@ describe.skip('iD.modeAddPoint', function() {
var container = d3.select(document.createElement('div'));
context = iD.coreContext()
.container(container);
.container(container)
.init();
context.loadTiles = function () {};