feat: add TranslationError class and improve error handling across tr… #53
Annotations
4 errors
test/translate.test.ts > translator > deepl translate:
test/translate.test.ts#L98
AssertionError: expected 'Translate: Translate fail ! texts par…' to deeply equal 'texts parameter must be a non-empty s…'
Expected: "texts parameter must be a non-empty string or array of non-empty strings"
Received: "Translate: Translate fail ! texts parameter must be a non-empty string or array of non-empty strings"
❯ test/translate.test.ts:98:29
|
test
Process completed with exit code 1.
|
test/translate.test.ts > translator > deepl translate:
test/translate.test.ts#L98
AssertionError: expected 'Translate: Translate fail ! texts par…' to deeply equal 'texts parameter must be a non-empty s…'
Expected: "texts parameter must be a non-empty string or array of non-empty strings"
Received: "Translate: Translate fail ! texts parameter must be a non-empty string or array of non-empty strings"
❯ test/translate.test.ts:98:29
|
test-coverage
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dist
|
177 KB |
|