Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix(test): fix language detection test (#779)
Browse files Browse the repository at this point in the history
* fix(test): fix language detection test

The existing test started returning `haw` (Hawaiian?), so let's use the longer text :)

* fix(test): typo
  • Loading branch information
alexander-fenster committed Apr 21, 2022
1 parent b30e378 commit b6df5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system-test/translate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ describe('translate', () => {
expectedLanguage: 'en',
},
{
content: '¡Hola!',
content: 'Esto es una prueba.',
expectedLanguage: 'es',
},
];

it('should detect a langauge', async () => {
it('should detect a language', async () => {
const projectId = await translate.getProjectId();
for (const input of INPUT) {
const [result] = await translate.detectLanguage({
Expand Down

0 comments on commit b6df5e2

Please sign in to comment.