mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +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', () => {
|
||||
beforeEach(() => {
|
||||
propsData = { ...propsData, reports: [] }
|
||||
propsData = { ...propsData }
|
||||
wrapper = Wrapper()
|
||||
})
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ export default {
|
||||
ReportRow,
|
||||
},
|
||||
props: {
|
||||
reports: { type: Array, default: [] },
|
||||
reports: { type: Array, default: () => [] },
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user