From 0eed85d52917d688b016aa12928eeb010bc03295 Mon Sep 17 00:00:00 2001 From: Astrid Date: Wed, 16 Feb 2022 16:38:33 +0100 Subject: [PATCH] correct done (#1006) --- 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(); }); });