1.2.0 • Published 11 months ago

@enonic/test-data v1.2.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
11 months ago

@enonic/test-data

Exports constants that contain test values for most javascript and some Enonic XP data-types.

Some of these test values are Egde(min/max extremes) and Boundary(just outside edge) case values.

Usage

import {
	GEOPOINT_ARRAYS,
	GEOPOINT_ARRAYS_INVALID
} from '@enonic/test-data';

console.debug(GEOPOINT_ARRAYS);
/*
	[59.9090442,10.7423389],
	[-90,-180],
	[90,-180],
	[0,0],
	[-90,180],
	[90,180]
*/

console.debug(GEOPOINT_ARRAYS_INVALID);
/*
	[-91,-180],
	[-90.0000001,-181],
	[-90,-181],
	[-90,-180.0000001],
	[91,-180],
	[90.0000001,-180],
	[90,-181],
	[90,-180.0000001],
	[-91,180],
	[-90.0000001,180],
	[-90,181],
	[-90,180.0000001],
	[91,180],
	[90.0000001,180],
	[90,181],
	[90,180.0000001]
*/
1.2.0

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.3.0

11 months ago

0.3.1

11 months ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago