Skip to content

Commit

Permalink
increase coverage with data()
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpou committed Feb 6, 2018
1 parent a52e2a6 commit 51e53f2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/OfflineNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export default {
default: false
}
},
data () {
return {
}
},
watch: {
isOffline (offline) {
if (!offline) {
Expand Down
4 changes: 4 additions & 0 deletions src/components/Readme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export default {
default: () => {}
}
},
data () {
return {
}
},
computed: {
readmeMarkdown () {
if (typeof this.readme.content === 'undefined') {
Expand Down
4 changes: 4 additions & 0 deletions src/components/RepoList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export default {
type: Array,
default: () => []
}
},
data () {
return {
}
}
}
</script>
Expand Down

0 comments on commit 51e53f2

Please sign in to comment.