mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 16:49:40 +02:00
Enable no-undef-init eslint rule
This commit is contained in:
@@ -34,7 +34,7 @@ describe('iD.actionUpgradeTags', function () {
|
||||
|
||||
it('upgrades a tag with no replacement tags', function () {
|
||||
var oldTags = { highway: 'no' },
|
||||
newTags = undefined,
|
||||
newTags,
|
||||
entity = iD.osmEntity({ tags: { highway: 'no', name: 'Foo' }}),
|
||||
graph = iD.actionUpgradeTags(entity.id, oldTags, newTags)(iD.coreGraph([entity]));
|
||||
expect(graph.entity(entity.id).tags).to.eql({ name: 'Foo' });
|
||||
|
||||
Reference in New Issue
Block a user