mnasyrov / karma-jasmine-spec-tags

A plugin for karma-jasmine which helps to filter tests (specs) by tags.
MIT License
6 stars 1 forks source link

Karma 6.0.0 gives error Unknown arguments: skip-tags, skipTags #12

Closed rajsite closed 1 year ago

rajsite commented 3 years ago

Karma 6.0.0 introduced a breaking change where the cli errors on "unexpected options or parameters". This results in the following error in the console with karma-jasmine-spec-tags:

Unknown arguments: skip-tags, skipTags
mnasyrov commented 3 years ago

As I see, custom CLI arguments cannot be used with Karma anymore. Please try to configure the plugin by Karma's configuration file: https://github.com/mnasyrov/karma-jasmine-spec-tags#configuration

mnasyrov commented 1 year ago

Karma removed strict parsing of custom arguments in 6.0.4, it fixed the issue. I updated the peer dependencies.

Fixed in karma-jasmine-spec-tags@2.0.0