mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[#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:
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user