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

Commit b6df5e2

Browse files
fix(test): fix language detection test (#779)
* fix(test): fix language detection test The existing test started returning `haw` (Hawaiian?), so let's use the longer text :) * fix(test): typo
1 parent b30e378 commit b6df5e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system-test/translate.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ describe('translate', () => {
2929
expectedLanguage: 'en',
3030
},
3131
{
32-
content: '¡Hola!',
32+
content: 'Esto es una prueba.',
3333
expectedLanguage: 'es',
3434
},
3535
];
3636

37-
it('should detect a langauge', async () => {
37+
it('should detect a language', async () => {
3838
const projectId = await translate.getProjectId();
3939
for (const input of INPUT) {
4040
const [result] = await translate.detectLanguage({

0 commit comments

Comments
 (0)