8
8
// tslint:disable:no-big-function
9
9
import { Architect } from '@angular-devkit/architect' ;
10
10
import { TestLogger } from '@angular-devkit/architect/testing' ;
11
- import { join , logging , normalize , virtualFs } from '@angular-devkit/core' ;
11
+ import { join , normalize , virtualFs } from '@angular-devkit/core' ;
12
12
import { debounceTime , take , takeWhile , tap } from 'rxjs/operators' ;
13
13
import {
14
14
createArchitect ,
@@ -23,7 +23,7 @@ describe('Browser Builder rebuilds', () => {
23
23
const target = { project : 'app' , target : 'build' } ;
24
24
// Rebuild tests are especially sensitive to time between writes due to file watcher
25
25
// behaviour. Give them a while.
26
- const rebuildDebounceTime = 3000 ;
26
+ const rebuildDebounceTime = 6000 ;
27
27
let architect : Architect ;
28
28
29
29
beforeEach ( async ( ) => {
@@ -593,7 +593,7 @@ describe('Browser Builder rebuilds', () => {
593
593
let buildCount = 1 ;
594
594
const run = await architect . scheduleTarget ( target , overrides ) ;
595
595
await run . output . pipe (
596
- debounceTime ( rebuildDebounceTime ) ,
596
+ debounceTime ( rebuildDebounceTime + 1000 ) ,
597
597
tap ( ( ) => {
598
598
const content = virtualFs . fileBufferToString (
599
599
host . scopedSync ( ) . read ( join ( outputPath , 'main.js' ) ) ,
0 commit comments