Skip to content

Commit

Permalink
add hyphenated test
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Nov 29, 2023
1 parent 807b964 commit e9a556e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/ValidationUtilsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ describe('ValidationUtils', () => {
test('Valid person name', () => {
expect(ValidationUtils.isValidPersonName('test name')).toBe(true);
expect(ValidationUtils.isValidPersonName(`X Æ A test`)).toBe(true);
expect(ValidationUtils.isValidPersonName(`a hyphenated-name`)).toBe(true);
});

test('Invalid person name', () => {
Expand Down

0 comments on commit e9a556e

Please sign in to comment.