From b25e3a8c27cc7d9c64b2ec1dcda6d8efb9f7776e Mon Sep 17 00:00:00 2001 From: Josh Dales Date: Mon, 20 Mar 2023 17:51:58 -0400 Subject: [PATCH] Better wording for the new test --- __tests__/fixtures/not_supported.yml | 2 +- __tests__/main.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();