Commit 0c3440b4 authored by Thomas Randolph's avatar Thomas Randolph

Test the entire object set into state as a single blob

parent 71d146f1
...@@ -9,8 +9,7 @@ describe('MR Notes Mutations', () => { ...@@ -9,8 +9,7 @@ describe('MR Notes Mutations', () => {
mutations[mutationTypes.SET_ENDPOINTS](state, endpoints); mutations[mutationTypes.SET_ENDPOINTS](state, endpoints);
expect(state.endpoints.endpointA).toBe('A'); expect(state.endpoints).toEqual(endpoints);
expect(state.endpoints.endpointB).toBe('B');
}); });
}); });
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment