Add test for Packer.toString

This commit is contained in:
Igor Święs
2022-08-22 19:08:29 +02:00
parent 21f7662a77
commit b6be05a931

View File

@ -37,6 +37,14 @@ describe("Packer", () => {
}); });
}); });
describe("#toString()", () => {
it("should return a non-empty string", async () => {
const result = await Packer.toString(file);
assert.isAbove(result.length, 0);
});
});
describe("#toBuffer()", () => { describe("#toBuffer()", () => {
it("should create a standard docx file", async function () { it("should create a standard docx file", async function () {
this.timeout(99999999); this.timeout(99999999);