We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44eb5fc commit 212328fCopy full SHA for 212328f
tests/acceptance/new.spec.ts
@@ -14,7 +14,13 @@ const root = process.cwd();
14
15
16
describe('Acceptance: ng new', function () {
17
+ let originalTimeout: number;
18
+
19
beforeEach((done) => {
20
+ // Increase timeout for these tests only.
21
+ originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
22
+ jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
23
24
spyOn(console, 'error');
25
26
tmp.setup('./tmp')
@@ -23,6 +29,7 @@ describe('Acceptance: ng new', function () {
29
}, 10000);
30
31
afterEach((done) => {
32
+ jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
33
tmp.teardown('./tmp').then(() => done());
27
34
});
28
35
0 commit comments