@@ -2059,7 +2059,7 @@ describe('PRChecker', () => {
2059
2059
2060
2060
const expectedLogs = {
2061
2061
warn : [
2062
- [ 'Commits were pushed since the last review:' ] ,
2062
+ [ 'Commits were pushed since the last approving review:' ] ,
2063
2063
[ '- src: fix issue with es-modules' ]
2064
2064
] ,
2065
2065
info : [ ] ,
@@ -2091,7 +2091,7 @@ describe('PRChecker', () => {
2091
2091
2092
2092
const expectedLogs = {
2093
2093
warn : [
2094
- [ 'Commits were pushed since the last review:' ] ,
2094
+ [ 'Commits were pushed since the last approving review:' ] ,
2095
2095
[ '- src: add requested feature' ] ,
2096
2096
[ '- nit: edit mistakes' ]
2097
2097
] ,
@@ -2122,7 +2122,7 @@ describe('PRChecker', () => {
2122
2122
const { commits, reviews } = moreThanThreeCommitsAfterReview ;
2123
2123
const expectedLogs = {
2124
2124
warn : [
2125
- [ 'Commits were pushed since the last review:' ] ,
2125
+ [ 'Commits were pushed since the last approving review:' ] ,
2126
2126
[ '- src: add requested feature' ] ,
2127
2127
[ '- nit: edit mistakes' ] ,
2128
2128
[ '- final: we should be good to go' ] ,
@@ -2180,20 +2180,18 @@ describe('PRChecker', () => {
2180
2180
commits : simpleCommits ,
2181
2181
collaborators,
2182
2182
authorIsNew : ( ) => true ,
2183
- getThread ( ) {
2184
- return PRData . prototype . getThread . call ( this ) ;
2185
- }
2183
+ getThread : PRData . prototype . getThread
2186
2184
} , { } , argv ) ;
2187
2185
2188
2186
const status = checker . checkCommitsAfterReview ( ) ;
2189
- assert . deepStrictEqual ( status , true ) ;
2187
+ assert . strictEqual ( status , true ) ;
2190
2188
} ) ;
2191
2189
2192
2190
it ( 'should log as expected if passed 1 as flag' , ( ) => {
2193
2191
const { commits, reviews } = moreThanThreeCommitsAfterReview ;
2194
2192
const expectedLogs = {
2195
2193
warn : [
2196
- [ 'Commits were pushed since the last review:' ] ,
2194
+ [ 'Commits were pushed since the last approving review:' ] ,
2197
2195
[ '- final: we should be good to go' ] ,
2198
2196
[ '...(use `--max-commits 4` to see the full list of commits)' ]
2199
2197
] ,
@@ -2224,7 +2222,7 @@ describe('PRChecker', () => {
2224
2222
const { commits, reviews } = moreThanThreeCommitsAfterReview ;
2225
2223
const expectedLogs = {
2226
2224
warn : [
2227
- [ 'Commits were pushed since the last review:' ] ,
2225
+ [ 'Commits were pushed since the last approving review:' ] ,
2228
2226
[ '...(use `--max-commits 4` to see the full list of commits)' ]
2229
2227
] ,
2230
2228
info : [ ] ,
0 commit comments