Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie committed Sep 17, 2019
1 parent d9b0ab2 commit b73b8ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/client/updaters/attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function updateAttribute (appId, { attribute } = {}, type, attrs,
tag.removeAttribute(attribute)
}

let data = attributeMap[type] || {}
const data = attributeMap[type] || {}

const toUpdate = []

Expand Down
2 changes: 1 addition & 1 deletion test/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ export function createDOM (html = '<!DOCTYPE html>', options = {}) {
// this is ok because this code normally only runs on
// the client and not during ssr
// TODO: findout why jest.resetModules doesnt work for this
export function clearClientAttributeMap() {
export function clearClientAttributeMap () {
Object.keys(attributeMap).forEach(key => delete attributeMap[key])
}
2 changes: 1 addition & 1 deletion test/utils/meta-info-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const metaInfoData = {
expect(attributeMap).toEqual({ bodyAttrs: {
foo: { ssr: 'bar' },
fizz: { ssr: ['fuzz', 'fozz'] }
}})
} })
}
}
}
Expand Down

0 comments on commit b73b8ed

Please sign in to comment.