mirror of
https://github.com/n8n-io/n8n.git
synced 2026-12-05 01:00:52 +00:00
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
16 lines
392 B
TypeScript
16 lines
392 B
TypeScript
import * as sharedErrors from '@n8n/errors';
|
|
|
|
import * as workflowErrors from '../../src/errors';
|
|
|
|
describe('errors re-exported from @n8n/errors', () => {
|
|
it.each([
|
|
'ApplicationError',
|
|
'BaseError',
|
|
'OperationalError',
|
|
'UnexpectedError',
|
|
'UserError',
|
|
] as const)('should re-export the shared %s class', (name) => {
|
|
expect(workflowErrors[name]).toBe(sharedErrors[name]);
|
|
});
|
|
});
|