diff options
Diffstat (limited to 'spec/frontend/boards/stores/mutations_spec.js')
-rw-r--r-- | spec/frontend/boards/stores/mutations_spec.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/frontend/boards/stores/mutations_spec.js b/spec/frontend/boards/stores/mutations_spec.js index bc57c30b354..61e552f34d0 100644 --- a/spec/frontend/boards/stores/mutations_spec.js +++ b/spec/frontend/boards/stores/mutations_spec.js @@ -32,6 +32,16 @@ describe('Board Store Mutations', () => { }); }); + describe('SET_ACTIVE_ID', () => { + it('updates aciveListId to be the value that is passed', () => { + const expectedId = 1; + + mutations.SET_ACTIVE_ID(state, expectedId); + + expect(state.activeId).toBe(expectedId); + }); + }); + describe('REQUEST_ADD_LIST', () => { expectNotImplemented(mutations.REQUEST_ADD_LIST); }); |