do not check the message content when verifying if console.info was called in tests

Update packages/yarn-plugin/src/handlers/afterWorkspaceDependencyAddition.test.ts

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Przemek <32961666+eipc16@users.noreply.github.com>
This commit is contained in:
Przemek
2025-06-26 08:59:24 +02:00
committed by GitHub
parent d6084b8a05
commit d6c4e64431
@@ -149,8 +149,6 @@ describe('afterWorkspaceDependencyAddition', () => {
);
expect(input.range).toBe('backstage:^');
expect(consoleInfoSpy).not.toHaveBeenCalledWith(
`Setting ${input.scope}/${input.name} to backstage:^`,
);
expect(consoleInfoSpy).not.toHaveBeenCalled();
});
});