2021-02-28 16:04:21 +00:00
|
|
|
import { expect } from "chai";
|
|
|
|
|
2021-03-01 23:35:52 +00:00
|
|
|
import { DocumentWrapper } from "./document-wrapper";
|
2021-02-28 16:04:21 +00:00
|
|
|
|
2021-03-01 23:35:52 +00:00
|
|
|
describe("DocumentWrapper", () => {
|
|
|
|
describe("#constructor", () => {
|
|
|
|
it("should create", () => {
|
|
|
|
const file = new DocumentWrapper({ background: {} });
|
2021-02-28 16:04:21 +00:00
|
|
|
|
2021-03-01 23:35:52 +00:00
|
|
|
expect(file.View).to.be.ok;
|
|
|
|
expect(file.Relationships).to.be.ok;
|
2021-02-28 16:04:21 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|