diff --git a/__tests__/config.test.ts b/__tests__/config.test.ts index dbf3aa0..25c7e28 100644 --- a/__tests__/config.test.ts +++ b/__tests__/config.test.ts @@ -113,7 +113,7 @@ test('it reads an external config file', async () => { test('raises an error when the the config file was not found', async () => { setInput('config-file', 'fixtures/i-dont-exist') - await expect(readConfig()).rejects.toThrow(/Unable to fetch config file/) + await expect(readConfig()).rejects.toThrow(/Unable to fetch/) }) test('it parses options from both sources', async () => {