Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -69,7 +69,7 @@ describe('ServerPermissionClient', () => {
|
||||
discovery,
|
||||
tokenManager: ServerTokenManager.noop(),
|
||||
}),
|
||||
).toThrowError(
|
||||
).toThrow(
|
||||
'Backend-to-backend authentication must be configured before enabling permissions. Read more here https://backstage.io/docs/tutorials/backend-to-backend-auth',
|
||||
);
|
||||
});
|
||||
|
||||
@@ -51,7 +51,7 @@ describe('permission integration utils', () => {
|
||||
});
|
||||
|
||||
it('throws if there is no rule for the supplied name', () => {
|
||||
expect(() => getRule('test-rule-3')).toThrowError(
|
||||
expect(() => getRule('test-rule-3')).toThrow(
|
||||
/unexpected permission rule/i,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user