]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
fix: revert the `--tests` flag behavior
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 13 Jun 2023 07:19:40 +0000 (15:19 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 13 Jun 2023 07:53:45 +0000 (15:53 +0800)
commit627f490c745a7ec121cb5d85cf2001bb06738a77
treebf4f0a7cc96a731925ea57ac05e924ac5b992662
parent3675eae32c91d09142c852d842e5e2efde3c3ba7
fix: revert the `--tests` flag behavior

Fixes #297

To avoid confusions, the `--tests` flag should include exact *one* set
of test configurations. In the previous versions, it was Vitest for unit
testing and Cypress for E2E testing.
So for consistency, we remove the newly added Nightwatch template from
it.

But as we have more and more testing options, I would encourage everyone
to specify the name of the testing framework they want to use, rather
than use the general `--tests` flag. It would also be less prone to bugs
index.ts