Skip to content

Commit 874cbe9

Browse files
committed
fixup! feat(@schematics/angular): migrate fake async to Vitest fake timers
1 parent 3707db7 commit 874cbe9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/schematics/angular/refactor/jasmine-vitest/transformers/fake-async-test_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('transformFakeAsyncTest', () => {
4242
import { fakeAsync } from '@angular/core/testing';
4343
4444
describe('My fakeAsync suite', () => {
45-
it('works', fakeAsync((strangeArg: Strange): void => {
45+
it('works', fakeAsync((strangeArg: Strange = myStrangeDefault): void => {
4646
expect(1).toBe(1);
4747
}));
4848
});
@@ -55,7 +55,7 @@ describe('transformFakeAsyncTest', () => {
5555
afterAll(() => {
5656
vi.useRealTimers();
5757
});
58-
it('works', async (strangeArg: Strange) => {
58+
it('works', async (strangeArg: Strange = myStrangeDefault) => {
5959
expect(1).toBe(1);
6060
});
6161
});

0 commit comments

Comments
 (0)