mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
default must be a function
This commit is contained in:
parent
f93367bc9f
commit
ca654914f7
@ -34,7 +34,7 @@ describe('ReportsTable', () => {
|
|||||||
|
|
||||||
describe('given no reports', () => {
|
describe('given no reports', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
propsData = { ...propsData, reports: [] }
|
propsData = { ...propsData }
|
||||||
wrapper = Wrapper()
|
wrapper = Wrapper()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ export default {
|
|||||||
ReportRow,
|
ReportRow,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
reports: { type: Array, default: [] },
|
reports: { type: Array, default: () => [] },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user