diff options
| author | taehoon <th.dev91@gmail.com> | 2019-07-02 15:07:18 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-02 15:07:18 -0400 |
| commit | d8e210df4d3f6e83c1fa0fc9b893b825cec45da4 (patch) | |
| tree | 3a166b2b9b93a6a9206b81ccaacafb88190131cd /test/unit/specs | |
| parent | b70c2bfef756a398305c7933f0b6906be4432e4c (diff) | |
update test for clearTimeline action
Diffstat (limited to 'test/unit/specs')
| -rw-r--r-- | test/unit/specs/modules/statuses.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/specs/modules/statuses.spec.js b/test/unit/specs/modules/statuses.spec.js index 0bbcb25a..e4661e2a 100644 --- a/test/unit/specs/modules/statuses.spec.js +++ b/test/unit/specs/modules/statuses.spec.js @@ -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) }) |
