* Documentation and Refactoring * Documentation and Refactoring * Fix lint issues * Convert components to Builder style --------- Co-authored-by: Dolan Miu <dmiu@bloomberg.net>
19 lines
622 B
TypeScript
19 lines
622 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { Formatter } from "@export/formatter";
|
|
|
|
import { createMathSubScriptProperties } from "./math-sub-script-function-properties";
|
|
|
|
describe("createMathSubScriptProperties", () => {
|
|
describe("#constructor()", () => {
|
|
it("should create a MathSubScriptProperties with correct root key", () => {
|
|
const mathSubScriptProperties = createMathSubScriptProperties();
|
|
|
|
const tree = new Formatter().format(mathSubScriptProperties);
|
|
expect(tree).to.deep.equal({
|
|
"m:sSubPr": {},
|
|
});
|
|
});
|
|
});
|
|
});
|