Commit 1f74f618 authored by jakeburden's avatar jakeburden

Replace store dispatches with direct assignments

parent 4d7d8dde
......@@ -146,16 +146,15 @@ describe('noteActions', () => {
};
beforeEach(() => {
store.dispatch('setUserData', userDataMock);
store.dispatch('setNoteableData', {
current_user: {
can_update: true,
},
});
wrapper = shallowMountNoteActions(props, {
targetType: () => 'issue',
});
store.state.noteableData = {
current_user: {
can_update: true,
},
};
store.state.userData = userDataMock;
});
afterEach(() => {
......
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