Fix error message matching
Signed-off-by: Juan Escalada <juanescalada175@gmail.com>
This commit is contained in:
@@ -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/,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user