From 5606d4cfc6878596a85024c4ce2271789210165d Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Mon, 2 Sep 2024 19:20:18 +0200 Subject: [PATCH] skip Stadia without key (#286) * skip Stadia without key * restore the arrow function --- test/RLayerMisc.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/RLayerMisc.test.tsx b/test/RLayerMisc.test.tsx index 8503d1cb..9af8c08b 100644 --- a/test/RLayerMisc.test.tsx +++ b/test/RLayerMisc.test.tsx @@ -15,7 +15,7 @@ import RLayerStadia from 'rlayers/layer/RLayerStadia'; import * as common from './common'; describe('', () => { - it('should display a tiled Stadia layer', () => { + (process.env.STADIA_MAPS_API_KEY ? it : it.skip)('should display a tiled Stadia layer', () => { const layer = React.createRef() as React.RefObject; const {container} = render(