More testing of action system, now with test coverage

This commit is contained in:
Thaum Rystra
2024-02-27 07:30:40 +02:00
parent 5141704e23
commit b13ca8c64b
20 changed files with 236 additions and 249 deletions

View File

@@ -53,7 +53,7 @@ export default async function applyTask(
// Create a result an push it to the action results, pass it to the apply function to modify
const result = new TaskResult(task.prop._id, task.targetIds);
result.scope[`#${prop.type}`] = prop;
result.scope[`#${prop.type}`] = { _propId: prop._id };
action.results.push(result);
// Apply the property