From ba1a47b3b40ad45e7e4371300ac9cb3d8609b99d Mon Sep 17 00:00:00 2001 From: astridx Date: Wed, 16 Feb 2022 15:13:09 +0100 Subject: [PATCH] correct done --- src/ui/control/logo_control.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/control/logo_control.test.ts b/src/ui/control/logo_control.test.ts index 9a734a1ecb..e7047c7697 100644 --- a/src/ui/control/logo_control.test.ts +++ b/src/ui/control/logo_control.test.ts @@ -98,9 +98,9 @@ describe('LogoControl', () => { map.on('sourcedata', (e) => { if (e.isSourceLoaded && e.sourceId === 'source2' && e.sourceDataType === 'metadata') { expect(map.getContainer().querySelectorAll('.maplibregl-ctrl-logo')).toHaveLength(1); + done(); } }); - done(); }); });