diff options
Diffstat (limited to 'spec/frontend/user_lists/store/show/mutations_spec.js')
-rw-r--r-- | spec/frontend/user_lists/store/show/mutations_spec.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/frontend/user_lists/store/show/mutations_spec.js b/spec/frontend/user_lists/store/show/mutations_spec.js index 364cc6a0225..cd379641ee1 100644 --- a/spec/frontend/user_lists/store/show/mutations_spec.js +++ b/spec/frontend/user_lists/store/show/mutations_spec.js @@ -57,7 +57,7 @@ describe('User Lists Show Mutations', () => { }); it('adds the new IDs to the state unless empty', () => { - newIds.filter(id => id).forEach(id => expect(mockState.userIds).toContain(id)); + newIds.filter((id) => id).forEach((id) => expect(mockState.userIds).toContain(id)); }); it('does not add duplicate IDs to the state', () => { @@ -80,7 +80,9 @@ describe('User Lists Show Mutations', () => { }); it('should leave the rest of the IDs alone', () => { - userIds.filter(id => id !== removedId).forEach(id => expect(mockState.userIds).toContain(id)); + userIds + .filter((id) => id !== removedId) + .forEach((id) => expect(mockState.userIds).toContain(id)); }); }); }); |