Command
test
Description
It would be nice to provide a way to disable teardown from the CLI.
This is useful in headed browser mode to interact with the mounted component in it's final state after the test ends.
Describe the solution you'd like
Maybe teardown could be disabled when --debug is set or maybe also provide a different boolean option such as teardown when using headed browser mode.
Describe alternatives you've considered
Once this is fixed #31732, one can add a setup file with the following content:
TestBed.configureTestingModule({teardown: {destroyAfterEach: false}});
This could be configured dynamically at user's convenience.
Command
test
Description
It would be nice to provide a way to disable teardown from the CLI.
This is useful in headed browser mode to interact with the mounted component in it's final state after the test ends.
Describe the solution you'd like
Maybe teardown could be disabled when
--debugis set or maybe also provide a different boolean option such asteardownwhen using headed browser mode.Describe alternatives you've considered
Once this is fixed #31732, one can add a setup file with the following content:
This could be configured dynamically at user's convenience.