Skip to content

Commit 2009810

Browse files
Hugo.PRUNAUXhugop95
authored andcommitted
feat: improved a unit test
1 parent 5e1c805 commit 2009810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/validate-groups-configuration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ describe('validate-groups-configuration', () => {
1212
it('throws an error when an invalid group is provided', () => {
1313
expect(() => {
1414
validateGroupsConfiguration(
15-
['predefinedGroup', ['customGroup', 'invalidGroup']],
15+
['predefinedGroup', ['customGroup', 'invalidGroup1'], 'invalidGroup2'],
1616
['predefinedGroup'],
1717
['customGroup'],
1818
)
19-
}).toThrow('Invalid group(s): invalidGroup')
19+
}).toThrow('Invalid group(s): invalidGroup1, invalidGroup2')
2020
})
2121
})

0 commit comments

Comments
 (0)