We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e0d3c commit 57c6b20Copy full SHA for 57c6b20
packages/jest/src/plugins/plugin.ts
@@ -317,7 +317,7 @@ async function buildJestTargets(
317
presetCache
318
);
319
const targetGroup = [];
320
- const dependsOn: string[] = [];
+ const dependsOn: TargetConfiguration['dependsOn'] = [];
321
metadata = {
322
targetGroups: {
323
[groupName]: targetGroup,
@@ -339,7 +339,12 @@ async function buildJestTargets(
339
}
340
341
const targetName = `${options.ciTargetName}--${relativePath}`;
342
- dependsOn.push(targetName);
+ dependsOn.push({
343
+ target: targetName,
344
+ projects: 'self',
345
+ params: 'forward',
346
+ });
347
+
348
targets[targetName] = {
349
command: `jest ${relativePath}`,
350
cache,
0 commit comments