Skip to content

Commit

Permalink
skip Stadia without key (#286)
Browse files Browse the repository at this point in the history
* skip Stadia without key

* restore the arrow function
  • Loading branch information
mmomtchev authored Sep 2, 2024
1 parent 577d5c0 commit 5606d4c
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 @@ -15,7 +15,7 @@ import RLayerStadia from 'rlayers/layer/RLayerStadia';
import * as common from './common';

describe('<RLayerStadia>', () => {
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<RLayerStadia>;
const {container} = render(
<RMap {...common.mapProps}>
Expand Down

0 comments on commit 5606d4c

Please sign in to comment.