From aa2ffb48de71d799dfe9d435a719061a396ef482 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 20:11:35 +0200 Subject: chore(deps): update eslint (#3458) Co-authored-by: Shinigami92 --- test/support/seeded-runs.ts | 4 +--- test/vitest-extensions.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/support/seeded-runs.ts b/test/support/seeded-runs.ts index 66d6df3c..04bbd254 100644 --- a/test/support/seeded-runs.ts +++ b/test/support/seeded-runs.ts @@ -205,9 +205,7 @@ class TestGenerator< * * @param methods The names of the methods. */ - itEach>( - ...methods: TMethodName[] - ): this { + itEach(...methods: Array>): this { for (const method of methods) { this.it(method); } diff --git a/test/vitest-extensions.ts b/test/vitest-extensions.ts index 5e94b699..5f414ef2 100644 --- a/test/vitest-extensions.ts +++ b/test/vitest-extensions.ts @@ -2,7 +2,7 @@ import { expect } from 'vitest'; expect.extend({ - toContainDuplicates(received: T[]) { + toContainDuplicates(received: unknown[]) { const { isNot = false } = this; const uniques = new Set(received); -- cgit v1.2.3