mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-10-04 17:04:53 +02:00
add open plaques
This commit is contained in:
parent
e33aecb565
commit
a79be23ccd
8 changed files with 114916 additions and 29 deletions
|
@ -28,15 +28,9 @@ describe('mapping properties with rich mapping engine', () => {
|
|||
})
|
||||
test('maps simple key to key, and keep the same value', () => {
|
||||
let Mapping_engine = new mapping_engine(mappingSame)
|
||||
let featurePoint = {
|
||||
type: 'Feature',
|
||||
properties: {
|
||||
equal: "same value"
|
||||
}
|
||||
}
|
||||
let newProperties = Mapping_engine.convertProperty('equal',
|
||||
Object.keys(mappingSame.tags),
|
||||
featurePoint,
|
||||
feature_to_test,
|
||||
mappingSame.default_properties_of_point)
|
||||
|
||||
expect(newProperties).toStrictEqual({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue