2023-06-05 00:33:43 +01:00
|
|
|
import { describe, expect, it } from "vitest";
|
2021-03-12 03:58:05 +00:00
|
|
|
|
|
|
|
import { Document } from "./index";
|
|
|
|
|
|
|
|
describe("Index", () => {
|
|
|
|
describe("Document", () => {
|
|
|
|
it("should instantiate the Document", () => {
|
2021-03-19 20:53:56 +00:00
|
|
|
expect(
|
|
|
|
new Document({
|
|
|
|
sections: [],
|
|
|
|
}),
|
|
|
|
).to.be.ok;
|
2021-03-12 03:58:05 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|