scripts/mapping_geojson_to_osm_tags/tests/main.test.js

36 lines
1.3 KiB
JavaScript
Raw Normal View History

2023-07-31 22:30:55 +02:00
import finder from "../utils/finder.ts";
import { Jest as mockUpload } from '@jest/environment'
xdescribe('mapping properties with rich mapping engine', () => {
test('remove all properties when mapping says so', () => { });
test('maps simple key to key, and keep the same value', () => { });
test('ignore one value', () => { });
test('conditional value', () => { });
test('conditional transform', () => { });
test('conditional truthy transform', () => { });
test('conditional falsy transform', () => { });
})
xdescribe('filters points', () => {
test('filter no points', () => { });
test('filter only one point', () => { });
test('filter X number of points', () => { });
test('filter city points', () => { });
test('filter bounding box', () => { });
test('filter combo, city', () => { });
test('filter combo, city + bbox', () => { });
test('filter combo, city + bbox + offset', () => { });
})
/**
* thats a roadmap, yes
*/
xdescribe('infer domain of values from csv file', () => {
test('gets the list of unique values in column', () => { });
})
xdescribe('infer domain of values from geojson file', () => {
test('gets the list of unique values in column', () => { });
})
xdescribe('build mapping engine config from unique values', () => {
test('builds a valid mapping config', () => { });
})