From ab9f97598c1c68b3c89646dd3c9b6e12eb9a9991 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Tue, 12 Jul 2022 17:10:37 +0100 Subject: [PATCH] #1584 Fix test names --- src/util/convenience-functions.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/convenience-functions.spec.ts b/src/util/convenience-functions.spec.ts index 9a437adc73..79527d3854 100644 --- a/src/util/convenience-functions.spec.ts +++ b/src/util/convenience-functions.spec.ts @@ -4,13 +4,13 @@ import { convertInchesToTwip, convertMillimetersToTwip, uniqueId, uniqueNumericI describe("Utility", () => { describe("#convertMillimetersToTwip", () => { - it("should call the underlying header's addChildElement for Paragraph", () => { + it("should convert millimeters to TWIP", () => { expect(convertMillimetersToTwip(1000)).to.equal(56692); }); }); describe("#convertInchesToTwip", () => { - it("should call the underlying header's addChildElement", () => { + it("should convert inches to TWIP", () => { expect(convertInchesToTwip(1)).to.equal(1440); expect(convertInchesToTwip(0.5)).to.equal(720); expect(convertInchesToTwip(0.25)).to.equal(360);