Skip to content
Snippets Groups Projects
Unverified Commit b20b384c authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

chore(tests): lint-fix (#34091)

parent 323d2b45
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ describe('workers/repository/process/libyear', () => { ...@@ -179,7 +179,7 @@ describe('workers/repository/process/libyear', () => {
npm: 1, npm: 1,
regex: 1, regex: 1,
}, },
// eslint-disable-next-line no-loss-of-precision
totalLibYears: 2, totalLibYears: 2,
totalDepsCount: 2, totalDepsCount: 2,
outdatedDepsCount: 2, outdatedDepsCount: 2,
......
...@@ -61,13 +61,11 @@ if (process.env.FILTER_SHARDS === 'true' && process.env.CHANGED_FILES) { ...@@ -61,13 +61,11 @@ if (process.env.FILTER_SHARDS === 'true' && process.env.CHANGED_FILES) {
const changedFiles: string[] = JSON.parse(process.env.CHANGED_FILES); const changedFiles: string[] = JSON.parse(process.env.CHANGED_FILES);
const matchingShards = getMatchingShards(changedFiles); const matchingShards = getMatchingShards(changedFiles);
if (matchingShards.length === 0) { if (matchingShards.length === 0) {
// eslint-disable-next-line no-console
console.log(`test-matrix-empty=true`); console.log(`test-matrix-empty=true`);
process.exit(0); process.exit(0);
} }
shardKeys = shardKeys.filter((key) => matchingShards.includes(key)); shardKeys = shardKeys.filter((key) => matchingShards.includes(key));
} catch (err) { } catch (err) {
// eslint-disable-next-line no-console
console.error(err); console.error(err);
process.exit(1); process.exit(1);
} }
...@@ -141,5 +139,5 @@ for (const [os, groups] of Object.entries(shardGrouping)) { ...@@ -141,5 +139,5 @@ for (const [os, groups] of Object.entries(shardGrouping)) {
/** /**
* Output will be consumed by `setup` CI job. * Output will be consumed by `setup` CI job.
*/ */
// eslint-disable-next-line no-console
console.log(`test-shard-matrix=${JSON.stringify(shardGroups)}`); console.log(`test-shard-matrix=${JSON.stringify(shardGroups)}`);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment