added default style

This commit is contained in:
Dolan Miu
2016-04-05 06:03:04 +01:00
parent d4c2b10285
commit a4b6ea562f
4 changed files with 162 additions and 8 deletions

View File

@ -7,6 +7,7 @@ import {LocalPacker} from "../export/packer/local";
import {assert} from "chai";
import {Document} from "../docx/document"
import {Properties} from "../properties"
import {DefaultStyle} from "../style/default"
describe.only("Packer", () => {
var packer: LocalPacker;
@ -16,7 +17,7 @@ describe.only("Packer", () => {
var properties = new Properties({
title: "test document"
});
packer = new LocalPacker(document, undefined, properties, "build/tests/test.zip");
packer = new LocalPacker(document, DefaultStyle(), properties, "build/tests/test.zip");
});
describe('#pack()', () => {