fixed up test

This commit is contained in:
Dolan Miu
2016-04-08 23:01:50 +01:00
parent 55bcbbb1a0
commit b20d677b1a

View File

@ -18,9 +18,11 @@ describe.only("Packer", () => {
var paragraph = new Paragraph("test text"); var paragraph = new Paragraph("test text");
document.addParagraph(paragraph); document.addParagraph(paragraph);
var properties = new Properties({ var properties = new Properties({
title: "test document" creator: "Shan Fu",
revision: "1",
lastModifiedBy: "Shan Fu"
}); });
packer = new LocalPacker(document, DefaultStyle(), properties, "build/tests/test.zip"); packer = new LocalPacker(document, DefaultStyle(), properties, "build/tests/test.docx");
}); });
describe('#pack()', () => { describe('#pack()', () => {