File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ describe('getDiff', () => {
95
95
96
96
const result = await exec ( { } , action ) ;
97
97
expect ( result . steps [ 0 ] . error ) . to . be . true ;
98
- expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'No commit data found' ) ;
98
+ expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'Your push has been blocked because no commit data was found' ) ;
99
99
} ) ;
100
100
101
101
it ( 'should throw an error if no commit data is provided' , async ( ) => {
@@ -114,7 +114,7 @@ describe('getDiff', () => {
114
114
115
115
const result = await exec ( { } , action ) ;
116
116
expect ( result . steps [ 0 ] . error ) . to . be . true ;
117
- expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'No commit data found' ) ;
117
+ expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'Your push has been blocked because no commit data was found' ) ;
118
118
} ) ;
119
119
120
120
it ( 'should handle empty commit hash in commitFrom' , async ( ) => {
You can’t perform that action at this time.
0 commit comments