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.

15 lines
486 B

const expect = require("chai").expect;
const CompileText = require("../lib/compileText");
// describe("Compile AST to HTML String", function () {
// it("Simple AST", function () {
// const ast = [
// { type: 'bold', children: [ 'arun' ] },
// { type: 'text', children: [ 'bold' ] },
// { type: 'text', children: [ 'son' ] }
// ];
// const expectedOutput =
// expect(CompileText(ast)).to.eql("TheKINGMaker");
// });
// });