diff options
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/parse-uri/test/index.js')
-rw-r--r-- | bin/wiki/ImportarDesdeURL/node_modules/parse-uri/test/index.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/parse-uri/test/index.js b/bin/wiki/ImportarDesdeURL/node_modules/parse-uri/test/index.js new file mode 100644 index 00000000..ff61a1ff --- /dev/null +++ b/bin/wiki/ImportarDesdeURL/node_modules/parse-uri/test/index.js @@ -0,0 +1,20 @@ +/* global describe, it */ + +'use strict' + +var URI = require('..') +var should = require('should') + +var URLS = [ + 'https://github.com/garycourt/uri-js', + 'magnet:?xt=urn:sha1:PDAQRAOQQRYS76MRZJ33LK4MMVZBDSCL', + 'https://🐀.ws/🐀🐀' +] + +describe('parse uri', function () { + it('works fine', function () { + URLS.forEach(function (url) { + URI(url).protocol.should.be.ok() + }) + }) +}) |