mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-06-20 01:34:42 +02:00
add config plaques commémoratives
This commit is contained in:
parent
2956a3ffee
commit
c9ecd31302
14 changed files with 536 additions and 166 deletions
|
@ -28,9 +28,15 @@ 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),
|
||||
feature_to_test,
|
||||
featurePoint,
|
||||
mappingSame.default_properties_of_point)
|
||||
|
||||
expect(newProperties).toStrictEqual({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue