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

feat(server): improve public api #1485

Merged
merged 1 commit into from
Jul 13, 2015

Commits on Jul 8, 2015

  1. feat(server): improve public api

    This adds a slew of new api possibilities to the server. All main
    events
    from the `globalEmitter` are now emitted on the `server` instances and
    publicly available.
    For a list of available events see the docs file.
    
    BREAKING CHANGE:
    
    The public api interface has changed to a constructor form. To upgrade
    change
    
    ```javascript
    var server = require(‘karma’).server
    server.start(config, done)
    ```
    
    to
    
    ```javascript
    var Server = require(‘karma’).Server
    var server = new Server(config, done)
    server.start()
    ```
    
    Closes karma-runner#1037, karma-runner#1482, karma-runner#1467
    dignifiedquire committed Jul 8, 2015
    Configuration menu
    Copy the full SHA
    82cbbad View commit details
    Browse the repository at this point in the history