Skip to content

Commit d766ef9

Browse files
committed
chore: add info for locally failing travis test
1 parent 5b4aeaf commit d766ef9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

@commitlint/travis-cli/src/cli.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test('should throw when on travis ci, but env vars are missing', async () => {
5757
);
5858
});
5959

60-
test('should call git with expected args', async () => {
60+
test('should call git with expected args (test might fail locally)', async () => {
6161
const cwd = await git.clone(
6262
'https://github.com/conventional-changelog/commitlint.git',
6363
['--depth=10'],
@@ -79,7 +79,7 @@ test('should call git with expected args', async () => {
7979
expect(commilint).toEqual(['commitlint']);
8080
});
8181

82-
test('should call git with expected args on pull_request', async () => {
82+
test('should call git with expected args on pull_request (test might fail locally)', async () => {
8383
const cwd = await git.clone(
8484
'https://github.com/conventional-changelog/commitlint.git',
8585
['--depth=10'],
@@ -107,7 +107,7 @@ test('should call git with expected args on pull_request', async () => {
107107
]);
108108
});
109109

110-
test('should call git with extra expected args on pull_request', async () => {
110+
test('should call git with extra expected args on pull_request (test might fail locally)', async () => {
111111
const cwd = await git.clone(
112112
'https://github.com/conventional-changelog/commitlint.git',
113113
['--depth=10'],

0 commit comments

Comments
 (0)