@@ -124,17 +124,14 @@ test('should work with husky via commitlint -e $GIT_PARAMS', async () => {
124
124
await execa ( 'git' , [ 'commit' , '-m' , '"test: this should work"' ] , { cwd} ) ;
125
125
} ) ;
126
126
127
- test . failing (
128
- 'should work with husky via commitlint -e %GIT_PARAMS%' ,
129
- async ( ) => {
130
- const cwd = await git . bootstrap ( 'fixtures/husky/integration' ) ;
131
- await writePkg ( { scripts : { commitmsg : `'${ bin } ' -e %GIT_PARAMS%` } } , { cwd} ) ;
132
-
133
- await execa ( 'npm' , [ 'install' ] , { cwd} ) ;
134
- await execa ( 'git' , [ 'add' , 'package.json' ] , { cwd} ) ;
135
- await execa ( 'git' , [ 'commit' , '-m' , '"test: this should work"' ] , { cwd} ) ;
136
- }
137
- ) ;
127
+ test ( 'should work with husky via commitlint -e %GIT_PARAMS%' , async ( ) => {
128
+ const cwd = await git . bootstrap ( 'fixtures/husky/integration' ) ;
129
+ await writePkg ( { scripts : { commitmsg : `'${ bin } ' -e %GIT_PARAMS%` } } , { cwd} ) ;
130
+
131
+ await execa ( 'npm' , [ 'install' ] , { cwd} ) ;
132
+ await execa ( 'git' , [ 'add' , 'package.json' ] , { cwd} ) ;
133
+ await execa ( 'git' , [ 'commit' , '-m' , '"test: this should work"' ] , { cwd} ) ;
134
+ } ) ;
138
135
139
136
test ( 'should work with husky via commitlint -e $HUSKY_GIT_PARAMS' , async ( ) => {
140
137
const cwd = await git . bootstrap ( 'fixtures/husky/integration' ) ;
0 commit comments