Skip to content

Commit decb83e

Browse files
committed
Merge branch 'next' into renovate/major-typescript
2 parents c01117e + aa183ad commit decb83e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/faker.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { SpyInstance } from 'vitest';
1+
import type { MockInstance } from 'vitest';
22
import { describe, expect, it, vi } from 'vitest';
33
import { Faker, faker } from '../src';
44
import { FakerError } from '../src/errors/faker-error';
@@ -14,7 +14,7 @@ describe('faker', () => {
1414
});
1515

1616
it('should not log anything on startup', () => {
17-
const spies: SpyInstance[] = keys(console)
17+
const spies: MockInstance[] = keys(console)
1818
.filter((key) => typeof console[key] === 'function')
1919
.map((methodName) =>
2020
vi.spyOn(console, methodName as keyof typeof console)

test/simple-faker.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { SpyInstance } from 'vitest';
1+
import type { MockInstance } from 'vitest';
22
import { describe, expect, it, vi } from 'vitest';
33
import { SimpleFaker, simpleFaker } from '../src';
44
import { keys } from '../src/internal/keys';
55

66
describe('simpleFaker', () => {
77
it('should not log anything on startup', () => {
8-
const spies: SpyInstance[] = keys(console)
8+
const spies: MockInstance[] = keys(console)
99
.filter((key) => typeof console[key] === 'function')
1010
.map((methodName) => vi.spyOn(console, methodName));
1111

0 commit comments

Comments
 (0)