From 27e1bf88363d8c701bf585654204aa131dfafaca Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 7 Mar 2021 12:21:36 +0100 Subject: [PATCH] lookup: add jest (#728) --- lib/grab-project.js | 4 +++- lib/lookup.json | 15 +++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/grab-project.js b/lib/grab-project.js index 8158ab56b..20cee0487 100644 --- a/lib/grab-project.js +++ b/lib/grab-project.js @@ -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); @@ -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); diff --git a/lib/lookup.json b/lib/lookup.json index d3285d0e5..72cdd08e5 100644 --- a/lib/lookup.json +++ b/lib/lookup.json @@ -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", @@ -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"],