Sam Therapy
8a6a005502
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
14 lines
319 B
JavaScript
14 lines
319 B
JavaScript
// do a test
|
|
|
|
|
|
import { createReadStream, writeFileSync } from "fs";
|
|
import convert from "../lib/convert.js";
|
|
|
|
|
|
let r = createReadStream("./test/sample.atom");
|
|
|
|
convert(r,function(er,data){
|
|
if (er){return console.log("error: ",er);}
|
|
console.log("ok");
|
|
writeFileSync("./test/result.html",data,"utf8");
|
|
});
|