@@ -34,16 +34,16 @@ describe('CommentDecorationsController', function() {
34
34
const branch = new Branch ( 'featureBranch' , upstreamBranch , upstreamBranch , true ) ;
35
35
const { commentThreads} = aggregatedReviewsBuilder ( )
36
36
. addReviewThread ( t => {
37
- t . addComment ( c => c . id ( "0" ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'one' ) ) ;
37
+ t . addComment ( c => c . id ( '0' ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'one' ) ) ;
38
38
} )
39
39
. addReviewThread ( t => {
40
- t . addComment ( c => c . id ( "1" ) . path ( 'file1.txt' ) . position ( 15 ) . bodyHTML ( 'two' ) ) ;
40
+ t . addComment ( c => c . id ( '1' ) . path ( 'file1.txt' ) . position ( 15 ) . bodyHTML ( 'two' ) ) ;
41
41
} )
42
42
. addReviewThread ( t => {
43
- t . addComment ( c => c . id ( "2" ) . path ( 'file2.txt' ) . position ( 7 ) . bodyHTML ( 'three' ) ) ;
43
+ t . addComment ( c => c . id ( '2' ) . path ( 'file2.txt' ) . position ( 7 ) . bodyHTML ( 'three' ) ) ;
44
44
} )
45
45
. addReviewThread ( t => {
46
- t . addComment ( c => c . id ( "3" ) . path ( 'file2.txt' ) . position ( 10 ) . bodyHTML ( 'four' ) ) ;
46
+ t . addComment ( c => c . id ( '3' ) . path ( 'file2.txt' ) . position ( 10 ) . bodyHTML ( 'four' ) ) ;
47
47
} )
48
48
. build ( ) ;
49
49
@@ -145,11 +145,11 @@ describe('CommentDecorationsController', function() {
145
145
it ( 'skips comment thread with only minimized comments' , async function ( ) {
146
146
const { commentThreads} = aggregatedReviewsBuilder ( )
147
147
. addReviewThread ( t => {
148
- t . addComment ( c => c . id ( "0" ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'one' ) . isMinimized ( true ) ) ;
149
- t . addComment ( c => c . id ( "2" ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'two' ) . isMinimized ( true ) ) ;
148
+ t . addComment ( c => c . id ( '0' ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'one' ) . isMinimized ( true ) ) ;
149
+ t . addComment ( c => c . id ( '2' ) . path ( 'file0.txt' ) . position ( 2 ) . bodyHTML ( 'two' ) . isMinimized ( true ) ) ;
150
150
} )
151
151
. addReviewThread ( t => {
152
- t . addComment ( c => c . id ( "1" ) . path ( 'file1.txt' ) . position ( 15 ) . bodyHTML ( 'three' ) ) ;
152
+ t . addComment ( c => c . id ( '1' ) . path ( 'file1.txt' ) . position ( 15 ) . bodyHTML ( 'three' ) ) ;
153
153
} )
154
154
. build ( ) ;
155
155
await atomEnv . workspace . open ( path . join ( __dirname , 'file0.txt' ) ) ;
0 commit comments