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:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user