2020-10-10 13:41:26 +01:00
|
|
|
import { expect } from "chai";
|
|
|
|
|
2022-06-26 23:26:42 +01:00
|
|
|
import { Formatter } from "@export/formatter";
|
2020-10-10 13:41:26 +01:00
|
|
|
import { MathSubScriptProperties } from "./math-sub-script-function-properties";
|
|
|
|
|
|
|
|
describe("MathSubScriptProperties", () => {
|
|
|
|
describe("#constructor()", () => {
|
|
|
|
it("should create a MathSubScriptProperties with correct root key", () => {
|
|
|
|
const mathSubScriptProperties = new MathSubScriptProperties();
|
|
|
|
|
|
|
|
const tree = new Formatter().format(mathSubScriptProperties);
|
|
|
|
expect(tree).to.deep.equal({
|
|
|
|
"m:sSubPr": {},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|