Skip to content

Commit

Permalink
allow for undefined value of the secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Sep 27, 2023
1 parent 4d7fdd6 commit 3c9e715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/RLayerMisc.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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('<RLayerStadia>', () => {
it('should display a tiled Stadia layer', () => {
const layer = React.createRef() as React.RefObject<RLayerStadia>;
Expand Down

0 comments on commit 3c9e715

Please sign in to comment.