I'm submitting a...
[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Currently, the all the schematics use .spec.{ts,js} as a suffix for the test files.
Expected behavior
There is a configuration option (probably threaded through the cli from .nestcli.json to switch the test suffix from .spec.{ts,js} to .test.{ts,js}.
What is the motivation / use case for changing the behavior?
It's pretty common practice to give test files the suffix .test.{ts,js} (in fact, the tests for this very project itself follow that pattern). Could we add an option to make this configurable?
I'm submitting a...
Current behavior
Currently, the all the schematics use
.spec.{ts,js}as a suffix for the test files.Expected behavior
There is a configuration option (probably threaded through the cli from
.nestcli.jsonto switch the test suffix from.spec.{ts,js}to.test.{ts,js}.What is the motivation / use case for changing the behavior?
It's pretty common practice to give test files the suffix
.test.{ts,js}(in fact, the tests for this very project itself follow that pattern). Could we add an option to make this configurable?