fix: resolve TypeScript and linting errors in test infrastructure
- Add @types/better-sqlite3 dependency - Remove duplicate database mock file - Fix property spread order in workflow builder to prevent overwrites - All 75 tests now pass with no linting errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -114,13 +114,13 @@ export class WorkflowBuilder {
|
||||
const nodeName = node.name || `${node.type} ${++this.nodeCounter}`;
|
||||
|
||||
const fullNode: INode = {
|
||||
...node, // Spread first to allow overrides
|
||||
id: nodeId,
|
||||
name: nodeName,
|
||||
type: node.type,
|
||||
typeVersion: node.typeVersion,
|
||||
position: node.position || this.getNextPosition(),
|
||||
parameters: node.parameters || {},
|
||||
...node,
|
||||
};
|
||||
|
||||
this.workflow.nodes.push(fullNode);
|
||||
|
||||
Reference in New Issue
Block a user