Fix linting errors after #13392

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-30 13:43:57 +02:00
parent 3716ae33b2
commit aaab1e34da
151 changed files with 837 additions and 786 deletions
@@ -23,7 +23,7 @@ describe('getValidPublisherConfig', () => {
publisherType: 'unknown publisher',
} as unknown as OptionValues;
expect(() => PublisherConfig.getValidConfig(invalidConfig)).toThrowError(
expect(() => PublisherConfig.getValidConfig(invalidConfig)).toThrow(
`Unknown publisher type ${invalidConfig.publisherType}`,
);
});
@@ -34,7 +34,7 @@ describe('getValidPublisherConfig', () => {
publisherType: 'azureBlobStorage',
} as unknown as OptionValues;
expect(() => PublisherConfig.getValidConfig(config)).toThrowError(
expect(() => PublisherConfig.getValidConfig(config)).toThrow(
'azureBlobStorage requires --azureAccountName to be specified',
);
});
@@ -104,7 +104,7 @@ describe('getValidPublisherConfig', () => {
osSecret: 'someSecret',
} as unknown as OptionValues;
expect(() => PublisherConfig.getValidConfig(config)).toThrowError(
expect(() => PublisherConfig.getValidConfig(config)).toThrow(
`openStackSwift requires the following params to be specified: ${[
'osAuthUrl',
'osSwiftUrl',