You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
387 B
14 lines
387 B
var fs = require('fs');
|
|
var converter = require('../index.js');
|
|
|
|
describe("links", function () {
|
|
it("should multiply render links", function (done) {
|
|
fs.readFile('tests/links.txt', 'utf8',function(err, input){
|
|
fs.readFile('tests/output/links.html', 'utf8',function(err, output){
|
|
expect(converter(input)+'\n').toBe(output);
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
});
|