mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 21:46:35 +00:00
refactor: add error messages i18n
This commit is contained in:
@@ -9,7 +9,7 @@ describe('createStep', () => {
|
||||
});
|
||||
|
||||
it('бросает ошибку для неизвестного инструмента', () => {
|
||||
expect(() => createStep('no-such-tool')).toThrow(/не найден/);
|
||||
expect(() => createStep('no-such-tool')).toThrow(/errors\.toolNotFound/);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user