Skip to content

Commit 20329da

Browse files
committed
fixup! feat(@schematics/angular): migrate fake async to Vitest fake timers
1 parent 4b88f13 commit 20329da

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,7 @@ function _createFakeTimersHookStatements(ctx: RefactorContext): ts.Statement[] {
157157
),
158158

159159
// > afterAll(() => {
160-
// > vi.useRealTimers({
161-
// > advanceTimeDelta: 1,
162-
// > shouldAdvanceTime: true
163-
// > });
160+
// > vi.useRealTimers();
164161
// > });
165162
ts.factory.createExpressionStatement(
166163
ts.factory.createCallExpression(ts.factory.createIdentifier('afterAll'), undefined, [

0 commit comments

Comments
 (0)