hunk.code_window:           `<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'">`,
           );
         harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`);
       });
       it(`should not extract critical css when 'optimization' is unset`, async () => {
         harness.useTarget('build', {
           ...BASE_OPTIONS,
           styles: ['src/styles.css'],
           optimization: undefined,
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     it(`should extract critical css when 'optimization' is unset`, async () => {
  
hunk.file_path: packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts
hunk.type: replace
file: /**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */
  
  import { resolve } from 'path';
  import { Configuration } from 'webpack';
  import { WebpackConfigOptions } from '../../utils/build-options';
  import { getTypescriptWorkerPlugin } from './typescript';
  
  export function getWorkerConfig(wco: WebpackConfigOptions): Configuration {
    const { webWorkerTsConfig } = wco.buildOptions;
  
    if (!webWorkerTsConfig) {
      return {};
    }
  
    return {
      plugins: [getTypescriptWorkerPlugin(wco, resolve(wco.root, webWorkerTsConfig))],
    };
  }
  