From 3c9e715e886df86919c2d415b350708a71f66272 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Wed, 27 Sep 2023 21:47:22 +0200 Subject: [PATCH] allow for undefined value of the secret --- 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 4e1a4ed..ee382ac 100644 --- a/test/RLayerMisc.test.tsx +++ b/test/RLayerMisc.test.tsx @@ -16,7 +16,7 @@ import RLayerStadia from 'rlayers/layer/RLayerStadia'; import * as common from './common'; -if (semver.gte(VERSION, '8.0.0') && process.env.STADIA_MAPS_API_KEY !== '') { +if (semver.gte(VERSION, '8.0.0') && process.env.STADIA_MAPS_API_KEY) { describe('', () => { it('should display a tiled Stadia layer', () => { const layer = React.createRef() as React.RefObject;