From 7a4fd56ccd86518a6b14c407fc977c7904337448 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 7 Jun 2022 09:45:06 -0400 Subject: Fix various typos Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy` --- server/tests/api/check-params/abuses.ts | 4 ++-- server/tests/api/notifications/user-notifications.ts | 2 +- server/tests/api/server/contact-form.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/check-params/abuses.ts b/server/tests/api/check-params/abuses.ts index c4b051723..bc2cc640f 100644 --- a/server/tests/api/check-params/abuses.ts +++ b/server/tests/api/check-params/abuses.ts @@ -269,7 +269,7 @@ describe('Test abuses API validators', function () { await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) }) - it('Should succeed with the corret parameters (advanced)', async function () { + it('Should succeed with the correct parameters (advanced)', async function () { const fields: AbuseCreate = { video: { id: server.store.videoCreated.id, @@ -333,7 +333,7 @@ describe('Test abuses API validators', function () { await command.addMessage({ token: userToken, abuseId, message: 'a'.repeat(5000), expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) }) - it('Should suceed with the correct params', async function () { + it('Should succeed with the correct params', async function () { const res = await command.addMessage({ token: userToken, abuseId, message }) messageId = res.body.abuseMessage.id }) diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index a7cc529f8..a11289236 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -545,7 +545,7 @@ describe('Test user notifications', function () { await servers[1].subscriptions.remove({ uri: 'user_1_channel@localhost:' + servers[0].port }) }) - // PeerTube does not support accout -> account follows + // PeerTube does not support account -> account follows // it('Should notify when a local account is following one of our channel', async function () { // this.timeout(50000) // diff --git a/server/tests/api/server/contact-form.ts b/server/tests/api/server/contact-form.ts index 4f01f6fd5..d6165b293 100644 --- a/server/tests/api/server/contact-form.ts +++ b/server/tests/api/server/contact-form.ts @@ -61,7 +61,7 @@ describe('Test contact form', function () { expect(email['text']).contains('my super message') }) - it('Should not have duplicated email adress in text message', async function () { + it('Should not have duplicated email address in text message', async function () { const text = emails[0]['text'] as string const matches = text.match(/toto@example.com/g) -- cgit v1.2.3