Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-05-28 13:01:22 +02:00
parent 09fdc24802
commit 7ecb8a41ef
2 changed files with 1 additions and 2 deletions
@@ -203,7 +203,6 @@ describe('TaskWorker', () => {
const { events } = await storage.listEvents({ taskId });
const event = events.find(e => e.type === 'completion');
console.warn(events);
expect((event?.body?.output as JsonObject).result).toBe('winning');
});
@@ -51,7 +51,7 @@ export type TaskSpec = {
name: string;
action: string;
input?: JsonObject;
if?: string;
if?: string | boolean;
}>;
output: { [name: string]: string };
};