The default settings should not use [].

This commit is contained in:
Federico Builes
2022-06-08 18:28:10 +02:00
parent a51db20961
commit 20cca5c0c4
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ test('the default config path handles .yml and .yaml', async () => {
test('returns a default config when the config file was not found', async () => {
let options = readConfigFile('fixtures/i-dont-exist')
expect(options.fail_on_severity).toEqual('low')
expect(options.allow_licenses).toEqual([])
expect(options.allow_licenses).toEqual(undefined)
})
test('it reads config files with empty options', async () => {