mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-30 14:20:40 +03:00
feat: add validations & translations
This commit is contained in:
@@ -16,6 +16,7 @@ const invalidUrls = [
|
||||
['Unsupported protocol (ftp)', 'ftp://example.com'],
|
||||
['Unsupported protocol (ws)', 'ws://example.com'],
|
||||
['Empty string', ''],
|
||||
['Without tld', 'https://google'],
|
||||
];
|
||||
|
||||
describe('validateUrl', () => {
|
||||
|
||||
Reference in New Issue
Block a user