diff --git a/__tests__/fixtures/not_supported.yml b/__tests__/fixtures/not_supported.yml index cb42984b..fac330ad 100644 --- a/__tests__/fixtures/not_supported.yml +++ b/__tests__/fixtures/not_supported.yml @@ -1,2 +1,2 @@ label: - - unknown-check: 'this-check-is-not-supported' + - unknown: 'this-is-not-supported' diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 240b1ed9..ae31e6c5 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -49,7 +49,7 @@ describe('run', () => { expect(addLabelsMock).toHaveBeenCalledTimes(0); }); - it('does not add a label when no match config options match', async () => { + it('does not add a label when the match config options are not supported', async () => { usingLabelerConfigYaml('not_supported.yml'); await run();