Skip to content

Commit

Permalink
test: remove failing marker
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Nov 30, 2018
1 parent d3f4f03 commit 91e1f03
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions @commitlint/cli/src/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,14 @@ test('should work with husky via commitlint -e $GIT_PARAMS', async () => {
await execa('git', ['commit', '-m', '"test: this should work"'], {cwd});
});

test.failing(
'should work with husky via commitlint -e %GIT_PARAMS%',
async () => {
const cwd = await git.bootstrap('fixtures/husky/integration');
await writePkg({scripts: {commitmsg: `'${bin}' -e %GIT_PARAMS%`}}, {cwd});

await execa('npm', ['install'], {cwd});
await execa('git', ['add', 'package.json'], {cwd});
await execa('git', ['commit', '-m', '"test: this should work"'], {cwd});
}
);
test('should work with husky via commitlint -e %GIT_PARAMS%', async () => {
const cwd = await git.bootstrap('fixtures/husky/integration');
await writePkg({scripts: {commitmsg: `'${bin}' -e %GIT_PARAMS%`}}, {cwd});

await execa('npm', ['install'], {cwd});
await execa('git', ['add', 'package.json'], {cwd});
await execa('git', ['commit', '-m', '"test: this should work"'], {cwd});
});

test('should work with husky via commitlint -e $HUSKY_GIT_PARAMS', async () => {
const cwd = await git.bootstrap('fixtures/husky/integration');
Expand Down

0 comments on commit 91e1f03

Please sign in to comment.