hunk.code_window:     .then(() => request('http://localhost:4200'))
       .then(body => {
         if (!body.match(/<app-root><\/app-root>/)) {
           throw new Error('Response does not match expected value.');
         }
       })
       .then(() => request('http://localhost:4200/deployurl/'))
       .then(body => {
         if (!body.match(/<app-root><\/app-root>/)) {
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:         throw new Error('Response does not match expected value. (1)');
         }
         if (!body.match(/"\/deployurl\/scripts.bundle.js"/)) {
           throw new Error('Response does not match expected value. (2)');
  
hunk.file_path: tests/e2e/tests/misc/deploy-url.ts
hunk.type: replace
file: const ngToolsWebpack = require('@ngtools/webpack');
  
  const flags = require('./webpack.flags.json');
  
  const preprocessLoader = 'preprocess-loader' + (flags.DEBUG ? '?+DEBUG' : '');
  
  
  module.exports = {
    resolve: {
      extensions: ['.ts', '.js']
    },
    entry: './not/so/source/app/main.jit.ts',
    output: {
      path: './dist',
      publicPath: 'dist/',
      filename: 'app.main.js'
    },
    plugins: [
      new ngToolsWebpack.AotPlugin(require('./aotplugin.config.json'))
    ],
    module: {
      loaders: [
        { test: /\.scss$/, loaders: ['raw-loader', 'sass-loader', preprocessLoader] },
        { test: /\.css$/, loader: 'raw-loader' },
        { test: /\.html$/, loaders: ['raw-loader', preprocessLoader] },
        // Use preprocess to remove DEBUG only code.
        { test: /\.ts$/, use: [
          { loader: '@ngtools/webpack' },
          { loader: preprocessLoader }
        ] }
      ]
    },
    devServer: {
      historyApiFallback: true
    }
  };
  