2018-11-01 02:22:32 +00:00
|
|
|
import { expect } from "chai";
|
|
|
|
|
|
|
|
import { ImportDotx } from "./import-dotx";
|
|
|
|
|
|
|
|
describe("ImportDotx", () => {
|
|
|
|
describe("#constructor", () => {
|
|
|
|
it("should create", () => {
|
|
|
|
const file = new ImportDotx();
|
|
|
|
|
2019-01-11 00:26:16 +00:00
|
|
|
expect(file).to.deep.equal({});
|
2018-11-01 02:22:32 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// describe("#extract", () => {
|
|
|
|
// it("should create", async () => {
|
|
|
|
// const file = new ImportDotx();
|
|
|
|
// const filePath = "./demo/dotx/template.dotx";
|
|
|
|
|
|
|
|
// const templateDocument = await file.extract(data);
|
|
|
|
|
|
|
|
// await file.extract(data);
|
|
|
|
|
|
|
|
// expect(templateDocument).to.be.equal({ currentRelationshipId: 1 });
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
});
|