From 672f6a277d63671ec18a966bf24ec76d24bdef76 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Sat, 24 Aug 2024 06:50:49 +0000 Subject: [PATCH] test: disable `buildOptimizer` for server tests Attempting to reduce flaky tests. (cherry picked from commit 3fd7b68c38584acb3f4fc1033d4412e4b055c8e2) --- .../build_angular/src/builders/server/tests/setup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts b/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts index 4621a9a7135f..8172b22e63d1 100644 --- a/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts +++ b/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts @@ -28,4 +28,5 @@ export const BASE_OPTIONS = Object.freeze({ // Disable optimizations optimization: false, + buildOptimizer: false, });