UNPKG
dhis2-maps-api
Version:
latest (29.0.0)
29.0.0
Maps API for DHIS2 based on Leaflet
github.com/dhis2/gis-api
dhis2/gis-api
dhis2-maps-api
/
src
/
__tests__
/
Boundary.spec.js
11 lines
(8 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
L
from
'leaflet'
;
import
{
Boundary
}
from
'../Boundary'
;
describe
(
'DHIS2 boundary layer'
,
() =>
{
it
(
'should extend L.GeoJSON'
,
() =>
{
const
boundary =
new
Boundary
();
expect
(boundary).
toBeInstanceOf
(L.
GeoJSON
); }); });