Skip to content

Commit caf6b2a

Browse files
committed
fixup! perf(@angular/build): avoid reading external component stylesheets twice
1 parent 08dcb6e commit caf6b2a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/angular/build/src/tools/angular/angular-host_spec.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ts from 'typescript';
1010
import { type AngularHostOptions, createAngularCompilerHost } from './angular-host';
1111

1212
describe('createAngularCompilerHost', () => {
13-
function createHost(overrides?: Partial<AngularHostOptions>) {
13+
function createHost() {
1414
const transformStylesheet = jasmine
1515
.createSpy<AngularHostOptions['transformStylesheet']>('transformStylesheet')
1616
.and.resolveTo('.compiled {}');
@@ -24,7 +24,6 @@ describe('createAngularCompilerHost', () => {
2424
{
2525
transformStylesheet,
2626
processWebWorker,
27-
...overrides,
2827
},
2928
undefined,
3029
);

0 commit comments

Comments
 (0)