tests: fixup tests and linting issues

This commit is contained in:
Maxim Fedorenko
2023-05-04 12:30:31 +03:00
parent a0437381e7
commit e77a7dfdcd
5 changed files with 20 additions and 20 deletions

View File

@ -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",
},

View File

@ -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: "",
},