Skip to content
Snippets Groups Projects
Commit d8e210df authored by Tae Hoon's avatar Tae Hoon
Browse files

update test for clearTimeline action

parent b70c2bfe
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!865Fix mixed profiles bug on user profile page
......@@ -258,11 +258,11 @@ describe('Statuses module', () => {
})
describe('clearTimeline', () => {
it('keeps userId when clearing user timeline', () => {
it('keeps userId when clearing user timeline when excludeUserId param is true', () => {
const state = defaultState()
state.timelines.user.userId = 123
mutations.clearTimeline(state, { timeline: 'user' })
mutations.clearTimeline(state, { timeline: 'user', excludeUserId: true })
expect(state.timelines.user.userId).to.eql(123)
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment