Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
localVue = createLocalVue()
localVue.use(Vuex)
store = new Vuex.Store({
modules: {
Mentions: initStore(),
TimelineSpace: timelineState
}
})
Mastodon.mockClear()
})
beforeEach(() => {
localVue = createLocalVue()
localVue.use(Vuex)
store = new Vuex.Store({
modules: {
Home: initStore(),
TimelineSpace: timelineState
}
})
Mastodon.mockClear()
})