#1699 Allow images to work with Hyperlink
Add stack to IContext for prepForXml
This commit is contained in:
@ -62,7 +62,7 @@ describe("ImportedXmlComponent", () => {
|
||||
describe("#prepForXml()", () => {
|
||||
it("should transform for xml", () => {
|
||||
// tslint:disable-next-line: no-object-literal-type-assertion
|
||||
const converted = importedXmlComponent.prepForXml({} as IContext);
|
||||
const converted = importedXmlComponent.prepForXml({ stack: [] } as unknown as IContext);
|
||||
expect(converted).to.deep.equal({
|
||||
"w:test": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user