Skip to content

Commit

Permalink
fix logo test
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd authored and jfirebaugh committed Jan 11, 2018
1 parent d5d1c9a commit 564a53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/ui/control/logo.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test('LogoControl is shown when a source with the mapbox_logo property is added'
tiles: ["http://example.com/{z}/{x}/{y}.png"],
mapbox_logo: true // eslint-disable-line
});
map.once('sourcedata', () => {
map.once('styledata', () => {
t.equal(map.getContainer().querySelector('.mapboxgl-ctrl-logo').parentNode.style.display, 'block');
t.end();
});
Expand Down

0 comments on commit 564a53b

Please sign in to comment.