diff --git a/__tests__/fixtures/branches.yml b/__tests__/fixtures/branches.yml index c4c2e7ba..1ad12ac6 100644 --- a/__tests__/fixtures/branches.yml +++ b/__tests__/fixtures/branches.yml @@ -1,11 +1,11 @@ test-branch: - - head-branch: "^test/" + - head-branch: '^test/' feature-branch: - - head-branch: "/feature/" + - head-branch: '/feature/' bug-branch: - - head-branch: "^bug/|fix/" + - head-branch: '^bug/|fix/' array-branch: - - head-branch: ["^array/"] + - head-branch: ['^array/'] diff --git a/__tests__/fixtures/only_pdfs.yml b/__tests__/fixtures/only_pdfs.yml index 0f4b61a7..2909dce7 100644 --- a/__tests__/fixtures/only_pdfs.yml +++ b/__tests__/fixtures/only_pdfs.yml @@ -1,3 +1,3 @@ touched-a-pdf-file: - changed-files: - - any: ['*.pdf'] + - any: ['*.pdf'] diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 52e8d210..fd21ca20 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -134,7 +134,7 @@ describe('run', () => { }); }); - it('it can support multiple branches by batching', async () => { + it('can support multiple branches by batching', async () => { github.context.payload.pull_request!.head = {ref: 'fix/123'}; usingLabelerConfigYaml('branches.yml'); await run(); @@ -148,7 +148,7 @@ describe('run', () => { }); }); - it('it can support multiple branches by providing an array', async () => { + it('can support multiple branches by providing an array', async () => { github.context.payload.pull_request!.head = {ref: 'array/123'}; usingLabelerConfigYaml('branches.yml'); await run();