UNPKG

@editorialapp/datatools

Version:

A collection of dependencies organized into useful tools for working with data in ways that are common in data cleaning and in building news apps.

10 lines (8 loc) 271 B
import test from 'brittle' import * as geo from '../lib/geo.js' test('can use @turf/helpers function', (t) => { const point = geo.point([0, 0], { example: true }) t.ok(point.type === 'Feature') t.ok(point.geometry.type === 'Point') t.ok(point.properties.example) })