mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-15 05:56:36 +00:00
refactor: add error messages i18n
This commit is contained in:
@@ -170,7 +170,7 @@ describe('run инструмента resize-png', () => {
|
||||
|
||||
it('обе стороны 0 — человекочитаемая ошибка', async () => {
|
||||
await expect(runResize({ width: 0, height: 0, keepAspect: true })).rejects.toThrow(
|
||||
'Укажите ширину'
|
||||
'errors.resizeSize'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user