[#66563] Use custom ESBuild test builder

Use the custom-esbuild unit-test builder so Vitest reuses the
application esbuild plugins during test execution.

Analogous to e6b2ccaaa9.
See: https://github.com/just-jeb/angular-builders

https://community.openproject.org/wp/66563
This commit is contained in:
Alexander Brandon Coles
2026-05-04 20:33:45 +01:00
parent 88632e0122
commit e371e2ef29
+2 -3
View File
@@ -146,11 +146,10 @@
}
},
"test": {
"builder": "@angular/build:unit-test",
"builder": "@angular-builders/custom-esbuild:unit-test",
"options": {
"tsConfig": "tsconfig.spec.json",
"buildTarget": "::development",
"runner": "vitest",
"buildTarget": "OpenProject:build",
"providersFile": "src/test-providers.ts",
"setupFiles": ["src/test-setup.ts"]
}