File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ describe('invalid commit', () => {
55 const { valid, errors } = await lint ( 'chore(scope): test' ) ;
66
77 expect ( valid ) . toBeFalsy ( ) ;
8- expect ( errors ) . toHaveLength ( 1 ) ;
98 expect ( errors [ 0 ] . name ) . toBe ( 'start-with-gitmoji' ) ;
109 } ) ;
1110
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ describe('invalid commit', () => {
55 const { valid, errors } = await lint ( 'chore(scope): test' ) ;
66
77 expect ( valid ) . toBeFalsy ( ) ;
8- expect ( errors ) . toHaveLength ( 1 ) ;
98 expect ( errors [ 0 ] . name ) . toBe ( 'start-with-gitmoji' ) ;
109 } ) ;
1110
@@ -65,7 +64,9 @@ describe('valid commit', () => {
6564 expect ( valid ) . toBeTruthy ( ) ;
6665 } ) ;
6766 it ( '$ :lipstick: style(typography): 优化信息块和内联代码样式 -> passed' , async ( ) => {
68- const { valid } = await lint ( ':lipstick: style(typography): 优化信息块和内联代码样式' ) ;
67+ const { valid } = await lint (
68+ ':lipstick: style(typography): 优化信息块和内联代码样式' ,
69+ ) ;
6970
7071 expect ( valid ) . toBeTruthy ( ) ;
7172 } ) ;
You can’t perform that action at this time.
0 commit comments