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