Client - localize Calendar w/ date-fns - fix #40

This commit is contained in:
Sam
2019-09-16 19:21:17 +02:00
parent ed0e467404
commit caa866c816
2 changed files with 16 additions and 9 deletions

View File

@ -95,7 +95,7 @@ test('should throw an error if the username is too short', async t => {
await t
.expect(Selector('H1').withText('Register').exists).ok()
.expect(Selector('code').withText(
'Username: 3 to 12 characters required.').exists).ok()
'3 to 12 characters required for username.').exists).ok()
})
test('should throw an error if the user is too long', async t => {
@ -115,7 +115,7 @@ test('should throw an error if the user is too long', async t => {
await t
.expect(Selector('H1').withText('Register').exists).ok()
.expect(Selector('code').withText(
'Username: 3 to 12 characters required.').exists).ok()
'3 to 12 characters required for username.').exists).ok()
})
test('should throw an error if the email is invalid', async t => {
@ -173,5 +173,5 @@ test('should throw an error if the password is too short', async t => {
await t
.expect(Selector('H1').withText('Register').exists).ok()
.expect(Selector('code').withText(
'Password: 8 characters required.').exists).ok()
'8 characters required for password.').exists).ok()
})