diff options
| author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2025-04-10 20:11:35 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-10 20:11:35 +0200 |
| commit | aa2ffb48de71d799dfe9d435a719061a396ef482 (patch) | |
| tree | 18deb78942a2b1963b8ae6fa6b27e3285ff30339 /test | |
| parent | cdf6dc4a973b8e64069f8b8d98e6921188f08575 (diff) | |
| download | faker-aa2ffb48de71d799dfe9d435a719061a396ef482.tar.xz faker-aa2ffb48de71d799dfe9d435a719061a396ef482.zip | |
chore(deps): update eslint (#3458)
Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/support/seeded-runs.ts | 4 | ||||
| -rw-r--r-- | test/vitest-extensions.ts | 2 |
2 files changed, 2 insertions, 4 deletions
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<TMethodName extends NoArgsMethodOf<TModule>>( - ...methods: TMethodName[] - ): this { + itEach(...methods: Array<NoArgsMethodOf<TModule>>): 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<T>(received: T[]) { + toContainDuplicates(received: unknown[]) { const { isNot = false } = this; const uniques = new Set(received); |
