Enable no-undef-init eslint rule

This commit is contained in:
Quincy Morgan
2020-10-23 11:33:47 -04:00
parent 6549bcc197
commit 3f9ac9105b
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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' });