Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Dec 10, 2024
1 parent 3da12f5 commit af5f646
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/allure-codeceptjs/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`,
})),
});
}
Expand Down

0 comments on commit af5f646

Please sign in to comment.