We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91fe10 commit c872e56Copy full SHA for c872e56
1 file changed
tests/unit/ChatGPTTranslatorTest.ts
@@ -19,8 +19,8 @@ describe('ChatGPTTranslator.performTranslation', () => {
19
const invalidTranslation = '[it] Hello name!'; // missing ${...}
20
21
const originalHTML = '<img src="photo.jpg" alt="A dog" class="photo">';
22
- const validHTMLTranslation = '<img src="photo.jpg" alt="Un chien" class="photo">';
23
- const invalidHTMLTranslation = '<img src="different.jpg" alt="Un chien" class="photo">';
+ const validHTMLTranslation = '[it] <img src="photo.jpg" alt="Un chien" class="photo">';
+ const invalidHTMLTranslation = '[it] <img src="different.jpg" alt="Un chien" class="photo">'; // different src
24
25
let translator: ChatGPTTranslator;
26
0 commit comments