Commit a9d4c6de authored by Isabella Skořepová's avatar Isabella Skořepová

Update unit tests

parent a2069ed1
Pipeline #226 passed with stage
......@@ -90,3 +90,7 @@ module.exports = function(href, title, text, curFilename) {
return out;
}
}
module.exports._test = {
paramInHrefParser: paramInHrefParser
}
require('should');
var o = require('../markdown')._test;
var o = require('../image')._test;
describe('Markdown', function() {
describe('Image', function() {
it('paramInHrefParser image.png =option,option2=123', function() {
o.paramInHrefParser('image.png =option,option2=123').should.be.eql({
href: 'image.png',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment