From ff5c79f47c9ad1a08b7e095f7f918327bb122411 Mon Sep 17 00:00:00 2001 From: Dmitry Baev Date: Tue, 21 May 2024 12:58:00 +0100 Subject: [PATCH] fix lint --- .../test/sdk/node/ReporterRuntime.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/allure-js-commons/test/sdk/node/ReporterRuntime.spec.ts b/packages/allure-js-commons/test/sdk/node/ReporterRuntime.spec.ts index 233ec7484..1679d38c7 100644 --- a/packages/allure-js-commons/test/sdk/node/ReporterRuntime.spec.ts +++ b/packages/allure-js-commons/test/sdk/node/ReporterRuntime.spec.ts @@ -1,10 +1,10 @@ import { describe, expect, it } from "vitest"; import { AllureNodeReporterRuntime } from "../../../src/sdk/node"; -import { mockWriter } from "../../utils/writer"; +import { mockWriter } from "../../utils/writer.js"; describe("AllureNodeReporterRuntime", () => { describe("writeAttachmentFromPath", () => { - it("should use extension from fileExtension option if specified", async () => { + it("should use extension from fileExtension option if specified", () => { const writer = mockWriter(); const runtime = new AllureNodeReporterRuntime({ writer }); @@ -25,7 +25,7 @@ describe("AllureNodeReporterRuntime", () => { expect(writeAttachmentFromPathCall[1]).to.be.eq(attachment.source); }); - it("should use extension from original file if fileExtension option is not specified", async () => { + it("should use extension from original file if fileExtension option is not specified", () => { const writer = mockWriter(); const runtime = new AllureNodeReporterRuntime({ writer }); @@ -45,7 +45,7 @@ describe("AllureNodeReporterRuntime", () => { expect(writeAttachmentFromPathCall[1]).to.be.eq(attachment.source); }); - it("should detect extension by content type if no option or path specified", async () => { + it("should detect extension by content type if no option or path specified", () => { const writer = mockWriter(); const runtime = new AllureNodeReporterRuntime({ writer });