Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b034a9

Browse files
committed
chore: increase migration test timeout
1 parent a094265 commit 0b034a9

File tree

1 file changed

+6
-0
lines changed
  • libs/template/schematics/src/migrations/update-1-0-0

1 file changed

+6
-0
lines changed

libs/template/schematics/src/migrations/update-1-0-0/index.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ import * as path from 'path';
88
describe('Template Migration 1.0.0', () => {
99
let appTree: UnitTestTree;
1010

11+
/* Increase Jest timeout because of long living tests. */
12+
beforeAll(() => jest.setTimeout(10_000));
13+
14+
/* Reset default timeout to 5s. */
15+
afterAll(() => jest.setTimeout(5_000));
16+
1117
it('should replace LetModule + LetDirective module specifier', async () => {
1218
appTree = await setupTestFile(`
1319
import { NgModule } from '@angular/core';

0 commit comments

Comments
 (0)