Skip to content

Commit d7db6f4

Browse files
author
Luca Forstner
committed
Fix logic for chosing what versions to test
1 parent 10feb86 commit d7db6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-tests/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ const recipeResults: RecipeResult[] = recipePaths.map(recipePath => {
283283

284284
const versionsToRun: {
285285
dependencyOverrides?: Record<string, string>;
286-
}[] = (process.env.CANARY_E2E_TEST ? recipe.canaryVersions : recipe.versions) ?? [{}];
286+
}[] = process.env.CANARY_E2E_TEST ? recipe.canaryVersions ?? [] : recipe.versions ?? [{}];
287287

288288
const versionResults = versionsToRun.map(({ dependencyOverrides }) => {
289289
if (dependencyOverrides) {

0 commit comments

Comments
 (0)