Skip to content

Commit e1aaadb

Browse files
committed
skip bing test
1 parent 90c1395 commit e1aaadb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

__tests__/translator.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ describe("Translator - translate", () => {
1616
expect(result.targetText).toBe("Hola"); // Expected translation
1717
});
1818

19-
test("bing translator - translate", async () => {
20-
const text = "Hello";
21-
const sourceLang = "en";
22-
const targetLang = "es";
23-
bing.customAgent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0';
24-
const result = await bing.translate(text, sourceLang, targetLang);
25-
expect(result.targetText).toBe("Hola"); // Expected translation
26-
});
19+
// test("bing translator - translate", async () => {
20+
// const text = "Hello";
21+
// const sourceLang = "en";
22+
// const targetLang = "es";
23+
// bing.customAgent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0';
24+
// const result = await bing.translate(text, sourceLang, targetLang);
25+
// expect(result.targetText).toBe("Hola"); // Expected translation
26+
// });
2727

2828
test("deepl translator - translate", async () => {
2929
const text = "Hello";

0 commit comments

Comments
 (0)