From dcdeb7de779e444c5f373d708d58055251c8ab4b Mon Sep 17 00:00:00 2001 From: cnagadya Date: Fri, 4 Nov 2022 16:12:05 +0000 Subject: [PATCH] Remove redundant skips Co-authored-by: Federico Builes --- __tests__/config.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/config.test.ts b/__tests__/config.test.ts index 65655a2..9340cb7 100644 --- a/__tests__/config.test.ts +++ b/__tests__/config.test.ts @@ -106,7 +106,7 @@ test.skip('raises an error when the the config file was not found', () => { expect(() => readConfigFile('fixtures/i-dont-exist')).toThrow() }) -test.skip('it parses options from both sources', async () => { +test('it parses options from both sources', async () => { setInput('config-file', './__tests__/fixtures/config-allow-sample.yml') let options = await readConfig() @@ -117,7 +117,7 @@ test.skip('it parses options from both sources', async () => { expect(options.base_ref).toEqual('a-custom-base-ref') }) -test.skip('in case of conflicts, the external config is the source of truth', async () => { +test('in case of conflicts, the external config is the source of truth', async () => { setInput('config-file', './__tests__/fixtures/config-allow-sample.yml') // this will set fail-on-severity to 'critical' let options = await readConfig() @@ -129,7 +129,7 @@ test.skip('in case of conflicts, the external config is the source of truth', as expect(options.fail_on_severity).toEqual('critical') }) -test.skip('it uses the default values when loading external files', async () => { +test('it uses the default values when loading external files', async () => { setInput('config-file', './__tests__/fixtures/no-licenses-config.yml') let options = await readConfig() expect(options.allow_licenses).toEqual(undefined)