Fixing failing test.

This commit is contained in:
Federico Builes
2023-04-06 17:11:29 +02:00
parent 153f274eb4
commit ff46a4b16e
+3 -10
View File
@@ -132,15 +132,8 @@ test('it reads a config file hosted in another repo', async () => {
) )
setInput('external-repo-token', 'gh_viptoken') setInput('external-repo-token', 'gh_viptoken')
setInput( const config = await readConfig()
'config-file',
'future-funk/anyone-cualkiera/external-config.yml@main'
)
setInput('external-repo-token', 'gh_viptoken') expect(config.fail_on_severity).toEqual('high')
expect(config.allow_licenses).toEqual(['GPL-2.0-only'])
const config = await Config.readConfig()
expect(config.fail_on_severity).toEqual('critical')
expect(config.allow_licenses).toEqual(['BSD', 'GPL 2'])
}) })