-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed as not planned
Labels
area: @angular/cligemini-triagedLabel noting that an issue has been triaged by geminiLabel noting that an issue has been triaged by gemini
Description
Command
test
Description
right now sometimes the tests passes locally but fail in the ci
I asked https://stackoverflow.com/q/79902347/2748984 but it seems right now there is no way to have full simulation of the ci locally
the cloest I found is to have vitest-base.config.ts file with
export default defineConfig({
test: {
fileParallelism: false,
sequence: {
concurrent: false,
},
maxConcurrency: 1,
},
});
and to add to angular.jest
"options": {
"runnerConfig": true
}
to the test
which seems too much to do to just simulate how ng test work in ci
Describe the solution you'd like
to have option --ci for the ng test that simulate how ng test work in ci
Describe alternatives you've considered
to allow the full list of options from vitest namely, since with native vitest you can run
npx vitest --no-file-parallelism --sequence.concurrent=false --maxConcurrency=1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular/cligemini-triagedLabel noting that an issue has been triaged by geminiLabel noting that an issue has been triaged by gemini