@@ -173,8 +173,10 @@ describe('ConfigLoader Tests', () => {
173
173
process . env . PARAMETER_RUNNER_MATCHER_CONFIG_PATH = '/path/to/matcher/config-1:/path/to/matcher/config-2' ;
174
174
process . env . PARAMETER_GITHUB_APP_WEBHOOK_SECRET = '/path/to/webhook/secret' ;
175
175
176
- const partialMatcher1 = '[{"id":"1","arn":"arn:aws:sqs:queue1","matcherConfig":{"labelMatchers":[["a"]],"exactMatch":true}}' ;
177
- const partialMatcher2 = ',{"id":"2","arn":"arn:aws:sqs:queue2","matcherConfig":{"labelMatchers":[["b"]],"exactMatch":true}}]' ;
176
+ const partialMatcher1 =
177
+ '[{"id":"1","arn":"arn:aws:sqs:queue1","matcherConfig":{"labelMatchers":[["a"]],"exactMatch":true}}' ;
178
+ const partialMatcher2 =
179
+ ',{"id":"2","arn":"arn:aws:sqs:queue2","matcherConfig":{"labelMatchers":[["b"]],"exactMatch":true}}]' ;
178
180
179
181
const combinedMatcherConfig = [
180
182
{ id : '1' , arn : 'arn:aws:sqs:queue1' , matcherConfig : { labelMatchers : [ [ 'a' ] ] , exactMatch : true } } ,
@@ -258,8 +260,10 @@ describe('ConfigLoader Tests', () => {
258
260
process . env . REPOSITORY_ALLOW_LIST = '["repo1", "repo2"]' ;
259
261
process . env . PARAMETER_RUNNER_MATCHER_CONFIG_PATH = '/path/to/matcher/config-1:/path/to/matcher/config-2' ;
260
262
261
- const partial1 = '[{"id":"1","arn":"arn:aws:sqs:queue1","matcherConfig":{"labelMatchers":[["x"]],"exactMatch":true}}' ;
262
- const partial2 = ',{"id":"2","arn":"arn:aws:sqs:queue2","matcherConfig":{"labelMatchers":[["y"]],"exactMatch":true}}]' ;
263
+ const partial1 =
264
+ '[{"id":"1","arn":"arn:aws:sqs:queue1","matcherConfig":{"labelMatchers":[["x"]],"exactMatch":true}}' ;
265
+ const partial2 =
266
+ ',{"id":"2","arn":"arn:aws:sqs:queue2","matcherConfig":{"labelMatchers":[["y"]],"exactMatch":true}}]' ;
263
267
264
268
const combined : RunnerMatcherConfig [ ] = [
265
269
{ id : '1' , arn : 'arn:aws:sqs:queue1' , matcherConfig : { labelMatchers : [ [ 'x' ] ] , exactMatch : true } } ,
0 commit comments