Skip to content

Commit

Permalink
Ignore failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jun 17, 2020
1 parent 77ad664 commit d077f68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/integration/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ module.exports = [
...typescriptArguments,

'--ignore-pattern',
'examples/**'
'examples/**',

// This file use `>` in jsx
'--ignore-pattern',
'test/integration/index-index/pages/index/index/index.js'
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion test/integration/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ list.run()
const {file, project, destination} = error2.eslintJob;
const {line} = error2.eslintMessage;

console.error(chalk.gray(`${project.repository}/blob/master/${path.relative(destination, file.filePath)}#L${line}`));
// TODO: The default branch of `next.js` is not master, find a way to link to the default branch
console.error(chalk.gray(`${project.repository}/tree/master/${path.relative(destination, file.filePath)}#L${line}`));
console.error(chalk.gray(JSON.stringify(error2.eslintMessage, undefined, 2)));
}
}
Expand Down

0 comments on commit d077f68

Please sign in to comment.