Changed true
string to a boolean
Fixed toBeTruthy to toBe(true) in spec
This commit is contained in:
parent
e3cc9d53d2
commit
78f64e83ab
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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…
Reference in a new issue