Skip to content

Commit

Permalink
style(jest-html-reporter): replace any with unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jan 30, 2025
1 parent 766f0ab commit 1e1e8b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class JestHtmlReporter implements JestReporter {

protected _globalConfig: JestConfig;
protected _config: ReporterConfig;
protected _context: any; // Reporter context passed from test scheduler
protected _context: unknown; // Reporter context passed from test scheduler

constructor(globalConfig: JestConfig, opts: Partial<ReporterConfig>, reporterContext: any) {
constructor(globalConfig: JestConfig, opts: Partial<ReporterConfig>, reporterContext: unknown) {
const reporterOpts = _.omitBy(opts, (_value, key) => key === 'configDir' || key.startsWith('_'));
this._config = parseConfig(reporterOpts);

Expand Down

0 comments on commit 1e1e8b3

Please sign in to comment.