From af5f646ada28cb8aebfbdec7e7b3b48f373c3c32 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Tue, 10 Dec 2024 17:35:31 +0100 Subject: [PATCH] style fixes --- packages/allure-codeceptjs/src/reporter.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/allure-codeceptjs/src/reporter.ts b/packages/allure-codeceptjs/src/reporter.ts index 647c3a5b3..805f01bd0 100644 --- a/packages/allure-codeceptjs/src/reporter.ts +++ b/packages/allure-codeceptjs/src/reporter.ts @@ -49,10 +49,9 @@ export class AllureCodeceptJsReporter extends AllureMochaReporter { } this.runtime.startStep(root, undefined, { name: `${step.actor} ${step.name}`, - // @ts-ignore parameters: step.args?.map((arg, index) => ({ name: `arg${index}`, - value: `${global.maskSensitiveData ? maskSensitiveData(JSON.stringify(arg)) : JSON.stringify(arg)}`, + value: `${(global as any).maskSensitiveData ? maskSensitiveData(JSON.stringify(arg)) : JSON.stringify(arg)}`, })), }); }