tests: fixup tests and linting issues
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
import { assert, expect } from "chai";
|
||||
import { SinonStub, stub } from "sinon";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
import * as convenienceFunctions from "@util/convenience-functions";
|
||||
|
||||
import { Utility } from "tests/utility";
|
||||
|
||||
@ -458,7 +456,7 @@ describe("Anchor", () => {
|
||||
"wp:docPr": {
|
||||
_attr: {
|
||||
descr: "test",
|
||||
id: 0,
|
||||
id: 1,
|
||||
name: "test",
|
||||
title: "test",
|
||||
},
|
||||
|
@ -1,9 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
import { SinonStub, stub } from "sinon";
|
||||
|
||||
import { IContext } from "@file/xml-components";
|
||||
import { Formatter } from "@export/formatter";
|
||||
import * as convenienceFunctions from "@util/convenience-functions";
|
||||
|
||||
import { ConcreteHyperlink, TextRun } from "../";
|
||||
import { Drawing, IDrawingOptions } from "./drawing";
|
||||
@ -70,7 +68,7 @@ describe("Drawing", () => {
|
||||
"wp:docPr": {
|
||||
_attr: {
|
||||
descr: "",
|
||||
id: 0,
|
||||
id: 1,
|
||||
name: "",
|
||||
title: "",
|
||||
},
|
||||
@ -301,7 +299,7 @@ describe("Drawing", () => {
|
||||
"wp:docPr": {
|
||||
_attr: {
|
||||
descr: "",
|
||||
id: 0,
|
||||
id: 1,
|
||||
name: "",
|
||||
title: "",
|
||||
},
|
||||
@ -535,7 +533,7 @@ describe("Drawing", () => {
|
||||
{
|
||||
_attr: {
|
||||
descr: "",
|
||||
id: 0,
|
||||
id: 1,
|
||||
name: "",
|
||||
title: "",
|
||||
},
|
||||
|
Reference in New Issue
Block a user