fixed injection of document into packer
This commit is contained in:
@ -8,7 +8,7 @@ function jsonify(obj: Object) {
|
||||
return JSON.parse(stringifiedJson);
|
||||
}
|
||||
|
||||
describe('Body', () => {
|
||||
describe.only('Body', () => {
|
||||
var body: Body;
|
||||
|
||||
beforeEach(() => {
|
||||
@ -16,6 +16,9 @@ describe('Body', () => {
|
||||
});
|
||||
|
||||
describe('#constructor()', () => {
|
||||
|
||||
|
||||
it("should create the correct xml components", () => {
|
||||
console.log(body);
|
||||
});
|
||||
});
|
||||
});
|
@ -4,12 +4,14 @@
|
||||
|
||||
import {LocalPacker} from "../export/packer/local";
|
||||
import {assert} from "chai";
|
||||
import {Document} from "../docx/document"
|
||||
|
||||
describe.only('Packer', () => {
|
||||
describe('Packer', () => {
|
||||
var packer: LocalPacker;
|
||||
|
||||
beforeEach(() => {
|
||||
packer = new LocalPacker("test.zip");
|
||||
var document = new Document();
|
||||
packer = new LocalPacker(document, "build/tests/test.zip");
|
||||
});
|
||||
|
||||
describe('#pack()', () => {
|
||||
|
Reference in New Issue
Block a user