aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2024-04-01 17:21:25 +0200
committerGitHub <[email protected]>2024-04-01 17:21:25 +0200
commit2e97b52c822c5fdaf1a67b955ad08450f59011fd (patch)
tree1341a247ccf6d56a5a03af2aeec269983c4cec95 /test
parent158cda6a94bd91ee180fa028a4abca7e3f317527 (diff)
downloadfaker-2e97b52c822c5fdaf1a67b955ad08450f59011fd.tar.xz
faker-2e97b52c822c5fdaf1a67b955ad08450f59011fd.zip
chore(deps): update eslint (#2771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Matt Mayer <[email protected]> Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/faker.spec.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/faker.spec.ts b/test/faker.spec.ts
index 63ae794e..78e07de0 100644
--- a/test/faker.spec.ts
+++ b/test/faker.spec.ts
@@ -16,9 +16,7 @@ describe('faker', () => {
it('should not log anything on startup', async () => {
const spies: MockInstance[] = keys(console)
.filter((key) => typeof console[key] === 'function')
- .map((methodName) =>
- vi.spyOn(console, methodName as keyof typeof console)
- );
+ .map((methodName) => vi.spyOn(console, methodName));
(await import('..')).default;