allure-js-commons
Advanced tools
Comparing version 3.0.0-beta.8 to 3.0.0-beta.9
/// <reference types="node" /> | ||
import { type AttachmentOptions, type FixtureResult, type StepResult, type TestResult } from "../../model.js"; | ||
import type { Category, EnvironmentInfo, RuntimeMessage } from "../types.js"; | ||
import type { Config, FixtureType, LinkConfig, TestScope, Writer } from "./types.js"; | ||
import type { FixtureType, LinkConfig, ReporterRuntimeConfig, TestScope, Writer } from "./types.js"; | ||
export declare class ReporterRuntime { | ||
@@ -14,3 +14,3 @@ #private; | ||
linkConfig?: LinkConfig; | ||
constructor({ writer, listeners, environmentInfo, categories, links }: Config); | ||
constructor({ writer, listeners, environmentInfo, categories, links }: ReporterRuntimeConfig); | ||
startScope: () => string; | ||
@@ -17,0 +17,0 @@ updateScope: (uuid: string, updateFunc: (scope: TestScope) => void) => void; |
@@ -25,5 +25,4 @@ /// <reference types="node" /> | ||
export type WriterDescriptor = [cls: string, ...args: readonly unknown[]] | string; | ||
export interface Config { | ||
export interface ReporterConfig { | ||
readonly resultsDir?: string; | ||
readonly writer: Writer | WriterDescriptor; | ||
readonly links?: LinkConfig; | ||
@@ -34,2 +33,5 @@ readonly listeners?: LifecycleListener[]; | ||
} | ||
export interface ReporterRuntimeConfig extends Omit<ReporterConfig, "resultsDir"> { | ||
readonly writer: Writer | WriterDescriptor; | ||
} | ||
export interface Writer { | ||
@@ -36,0 +38,0 @@ writeResult(result: TestResult): void; |
{ | ||
"name": "allure-js-commons", | ||
"version": "3.0.0-beta.8", | ||
"version": "3.0.0-beta.9", | ||
"description": "Allure JS Commons", | ||
@@ -81,3 +81,3 @@ "homepage": "https://allurereport.org/", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsdoc": "^48.11.0", | ||
"eslint-plugin-jsdoc": "^49.0.0", | ||
"eslint-plugin-n": "^17.10.1", | ||
@@ -92,3 +92,3 @@ "eslint-plugin-no-null": "^1.0.2", | ||
"peerDependencies": { | ||
"allure-playwright": "3.0.0-beta.8" | ||
"allure-playwright": "3.0.0-beta.9" | ||
}, | ||
@@ -95,0 +95,0 @@ "peerDependenciesMeta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
721878
7091