Fix error message matching

Signed-off-by: Juan Escalada <juanescalada175@gmail.com>
This commit is contained in:
Juan Escalada
2024-12-04 11:51:08 +09:00
parent bc42275038
commit 60ae194e83
@@ -208,7 +208,7 @@ describe('NunjucksWorkflowRunner', () => {
});
await expect(runner.execute(task)).rejects.toThrow(
"Template action with ID 'does-not-exist' is not registered.",
/Template action with ID 'does-not-exist' is not registered/,
);
});