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

fix(test): fix language detection test #779

Merged
merged 2 commits into from
Apr 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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