Skip to content
Snippets Groups Projects
Commit 78f64e83 authored by Phil Hughes's avatar Phil Hughes Committed by André Luís
Browse files

Changed `true` string to a boolean

Fixed toBeTruthy to toBe(true) in spec
parent e3cc9d53
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -55,7 +55,7 @@ export function getNoteFormData(params) {
note_project_id: '',
target_type: noteableData.targetType,
target_id: noteableData.id,
return_discussion: 'true',
return_discussion: true,
note: {
note,
position,
Loading
Loading
Loading
Loading
@@ -271,8 +271,8 @@ describe('DiffsStoreActions', () => {
 
startRenderDiffsQueue({ state, commit: pseudoCommit });
 
expect(state.diffFiles[0].renderIt).toBeTruthy();
expect(state.diffFiles[1].renderIt).toBeTruthy();
expect(state.diffFiles[0].renderIt).toBe(true);
expect(state.diffFiles[1].renderIt).toBe(true);
});
});
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment