Skip to content

Commit

Permalink
Merge pull request #187 from ckeditor/ci/3756
Browse files Browse the repository at this point in the history
Other (generator): Replaced Karma with Vitest as the testing framework in the generated package.

Other (tools): Removed support for the `--coverage` (`-c`) and `--source-map` (`-s`) flags.

Other (tools): Removed `test` script from the tools, because unit tests in the generated package are executed now directly by Vitest.

MINOR BREAKING CHANGE (generator): The generated package no longer uses Karma as the test runner. Instead, Vitest is used.

MINOR BREAKING CHANGE (tools): The `test` script is removed, because unit tests in the generated package are executed directly by Vitest. Hence, the previous custom support for the `--coverage` (`-c`) and `--source-map` (`-s`) flags is no longer needed and has been also removed. The `yarn run test` (or `npm run test`) script is still available in the generated package, but it executes Vitest. See [CLI flags](https://vitest.dev/guide/cli.html) supported in Vitest.
  • Loading branch information
pomek authored Sep 9, 2024
2 parents 387dafd + 6e45f6c commit 7e7c6af
Show file tree
Hide file tree
Showing 38 changed files with 8,223 additions and 16,558 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.nyc_output/
coverage/
node_modules/
yarn.lock
.idea
/release/
Loading

0 comments on commit 7e7c6af

Please sign in to comment.