maplibre-gl
Version:
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
15 lines (12 loc) • 404 B
text/typescript
import emptyStyle from './empty';
import validateStyleMin from './validate_style.min';
describe('empty', () => {
test('it generates something', () => {
const style = emptyStyle();
expect(style).toBeTruthy();
});
test('generated empty style is a valid style', () => {
const errors = validateStyleMin(emptyStyle());
expect(errors).toHaveLength(0);
});
});