test: rename incorrect test (#8596)

This commit is contained in:
RedGuy12
2022-09-08 08:08:28 -05:00
committed by GitHub
parent dbca93098c
commit ce991dd1d8

View File

@@ -31,7 +31,7 @@ describe('Button Components', () => {
expect(() => buttonStyleValidator.parse(ButtonStyle.Secondary)).not.toThrowError();
});
test('GIVEN invalid style THEN validator does not throw', () => {
test('GIVEN invalid style THEN validator does throw', () => {
expect(() => buttonStyleValidator.parse(7)).toThrowError();
});