Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jun 17, 2020
1 parent 655220a commit 77ad664
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions test/integration/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,21 @@ module.exports = [
]
},
{
repository: 'https://github.com/zeit/next.js',
repository: 'https://github.com/vercel/next.js',
extraArguments: [
...typescriptArguments,

'--ignore-pattern',
'examples/**'
]
},
'https://github.com/chakra-ui/chakra-ui',
{
repository: 'https://github.com/chakra-ui/chakra-ui',
extraArguments: [
'--ignore-pattern',
'scripts/create-package.js' // This file use `package` keyword as variable
]
},
'https://github.com/ReactTraining/react-router',
'https://github.com/facebook/relay',
'https://github.com/mozilla/pdf.js'
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ list.run()
const {file, project, destination} = error2.eslintJob;
const {line} = error2.eslintMessage;

console.error(chalk.gray(`${project.repository}/tree/master/${path.relative(destination, file.filePath)}#L${line}`));
console.error(chalk.gray(`${project.repository}/blob/master/${path.relative(destination, file.filePath)}#L${line}`));
console.error(chalk.gray(JSON.stringify(error2.eslintMessage, undefined, 2)));
}
}
Expand Down

0 comments on commit 77ad664

Please sign in to comment.