Added getters to tests

This commit is contained in:
airjp73 2018-02-06 11:50:09 -05:00
parent 0308f13dab
commit ebd95280df
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
export const state = () => ({
val: 1
})
export const getters = {
getVal(state) {
return 100
}
}

View File

@ -1,3 +1,9 @@
export const state = () => ({
val: 2
})
export const getters = {
getVal(state) {
return 99
}
}