expanded unit tests to cover mega links, reverted regex to old one, but fixed to cover mega links, just to prove it works

This commit is contained in:
El RIDO 2018-08-11 07:33:33 +02:00
parent c468b74b9b
commit 10201dc463
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
6 changed files with 12 additions and 7 deletions

View file

@ -94,7 +94,7 @@ describe('Helper', function () {
jsc.elements(['http', 'https', 'ftp']),
jsc.nearray(common.jscA2zString()),
jsc.array(common.jscQueryString()),
jsc.array(common.jscQueryString()),
jsc.array(common.jscHashString()),
'string',
function (prefix, schema, address, query, fragment, postfix) {
var query = query.join(''),