Fix send email error when empty connected account (#10005)
- Fix send email error when empty connected account - Add a global util to valid uuid - Add an util to check if object is workflow related
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
import { isValidUuid } from '../isValidUuid.util';
|
||||
|
||||
describe('isValidUuid', () => {
|
||||
it('should return true for a valid UUID', () => {
|
||||
expect(isValidUuid('123e4567-e89b-12d3-a456-426614174000')).toBe(true);
|
||||
});
|
||||
|
||||
it('should return false for an invalid UUID', () => {
|
||||
expect(isValidUuid('123e4567-e89b-12d3-a456-426614174000')).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user