From 6522cb16515725ac93736c32bae6ad00b78fbebd Mon Sep 17 00:00:00 2001 From: Maksim Stepanov <17935127+delatrie@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:03:18 +0700 Subject: [PATCH] feat: enable cucumberjson reader in core/report --- packages/core/src/report.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/report.ts b/packages/core/src/report.ts index 0e133a5..4d0325a 100644 --- a/packages/core/src/report.ts +++ b/packages/core/src/report.ts @@ -1,5 +1,5 @@ import type { Plugin, PluginContext, PluginState, ReportFiles, ResultFile } from "@allurereport/plugin-api"; -import { allure1, allure2, attachments, junitXml } from "@allurereport/reader"; +import { allure1, allure2, attachments, cucumberjson, junitXml } from "@allurereport/reader"; import { PathResultFile, type ResultsReader } from "@allurereport/reader-api"; import console from "node:console"; import { randomUUID } from "node:crypto"; @@ -37,7 +37,7 @@ export class AllureReport { constructor(opts: FullConfig) { const { name, - readers = [allure1, allure2, junitXml, attachments], + readers = [allure1, allure2, cucumberjson, junitXml, attachments], plugins = [], history, known,