mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
test(YouTube Node): Add tests for YouTube Node (#14459)
Co-authored-by: Roman Davydchuk <roman.davydchuk@n8n.io>
This commit is contained in:
@@ -98,7 +98,7 @@ export const equalityTest = async (testData: WorkflowTestData) => {
|
||||
}
|
||||
|
||||
// Convert errors to JSON so tests can compare
|
||||
if (json.error instanceof Error) {
|
||||
if (json?.error instanceof Error) {
|
||||
json.error = JSON.parse(
|
||||
JSON.stringify(json.error, ['message', 'name', 'description', 'context']),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user