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
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.tsfile withand to add to angular.jest
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
--cifor theng testthat simulate how ng test work in ciDescribe 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