diff --git a/scenarios/incompatible-versions.json b/scenarios/incompatible-versions.json index 3f4b2e50..b9ab7688 100644 --- a/scenarios/incompatible-versions.json +++ b/scenarios/incompatible-versions.json @@ -88,5 +88,29 @@ "expected": { "satisfiable": false } + }, + { + "name": "transitive-incompatible-versions", + "description": "The user requires `a`, which requires two incompatible, existing versions of package `b`", + "root": { + "requires": [ + "a==1.0.0" + ] + }, + "packages": { + "a": { + "versions": { + "1.0.0": { + "requires": [ + "b==2.0.0", + "b==1.0.0" + ] + } + } + } + }, + "expected": { + "satisfiable": false + } } -] \ No newline at end of file +]