Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(plugins): add more information about plugins #3649

Merged
merged 1 commit into from Feb 12, 2021

Commits on Feb 12, 2021

  1. docs(plugins): add more information about plugins

    Changes:
    
    - Promote `require('karma-plugin')` form over `'karma-plugin'` form. Former makes it more clear that plugin is imported from an NPM package and it is a regular JS object, there is no magic behind it. This is inspired by karma-runner#3498 where user is not aware that it is even possible. This also should make it easier with plug'n'play package managers (like Yarn 2).
    - Explain that `plugins` array does not activate plugins, but only registers them to clarify karma-runner#1247 (comment).
    - Explain the plugin structure, DI and how to build a new plugin.
    - Re-arrange "Developing plugins" page to make it easier to add more information about every plugin type. Adding actual information should be done in the separate PRs though.
    
    Fixes karma-runner#1247
    devoto13 committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    73cc801 View commit details
    Browse the repository at this point in the history