Skip to content

Commit

Permalink
lookup: add jest (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and MylesBorins committed Mar 18, 2021
1 parent ae179b5 commit 27e1bf8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion lib/grab-project.js
Expand Up @@ -12,6 +12,8 @@ async function grabProject(context) {
}

return new Promise((resolve, reject) => {
const packageManager =
context.options.yarn || context.module.useYarn ? 'yarn' : 'npm';
let packageName = context.module.raw;
if (context.module.type === 'directory') {
context.module.raw = context.module.name = path.basename(packageName);
Expand All @@ -21,7 +23,7 @@ async function grabProject(context) {
context.emit(
'data',
'info',
`${context.module.name} npm:`,
`${context.module.name} ${packageManager}:`,
`Downloading project: ${packageName}`
);
let options = createOptions(context.path, context);
Expand Down
15 changes: 9 additions & 6 deletions lib/lookup.json
Expand Up @@ -153,12 +153,6 @@
"maintainers": ["nzakas", "mysticatea", "not-an-aardvark"],
"comment": "Skipped because libX11 is required for headless Chrome"
},
"eslint-plugin-jest": {
"prefix": "v",
"maintainers": "SimenB",
"yarn": true,
"skip": ["aix", "s390x"]
},
"esprima": {
"maintainers": "ariya",
"expectFail": "fips",
Expand Down Expand Up @@ -250,6 +244,15 @@
"prefix": "v",
"maintainers": "juliangruber"
},
"jest": {
"prefix": "v",
"maintainers": ["cpojer", "scotthovestadt", "SimenB", "thymikee", "jeysal"],
"yarn": true,
"scripts": ["build:js", "test-ci-partial"],
"envVar": { "CI": true },
"skip": ["aix", "s390x", "ppc", "10.x", "darwin", "win32"],
"timeout": 1800000
},
"jquery": {
"skip": "win32",
"flaky": ["linux", "aix", "darwin"],
Expand Down

0 comments on commit 27e1bf8

Please sign in to comment.