test(install): assert a renamed workspace command's old name is gone (#17432)
The oracle's renamed-bin scenario checked only that the dependent links the new name. Both CLIs now also remove the old one, pnpm v11 since pnpm/pnpm#17371, so the scenario asserts that too, for every layout and driver. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0619870c34
commit
44d5fbcfe0
1 file changed
+1
@@ -1036,6 +1036,7 @@ fn a_workspace_bin_renamed(layout: Layout) {
|
||||
// the run gate for `a` refuses too.
|
||||
scenario.check_gates_allowing(AllowedRefusal::Run);
|
||||
assert!(links(&scenario, "a-cli"), "{layout:?}: c links the renamed command");
|
||||
assert!(!links(&scenario, "a-tool"), "{layout:?}: c no longer links the old command");
|
||||
}
|
||||
|
||||
/// The `@pnpm.e2e` scope routed to a registry that does not serve the
|
||||
|
||||
Reference in new issue
Block a user