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

[WIP] Browser support #887

Closed
wants to merge 8 commits into from
Closed

[WIP] Browser support #887

wants to merge 8 commits into from

Commits on May 28, 2016

  1. Extract file searching out of API

    Running AVA in browser environment won't allow
    API to execute file system operations, so
    file searching (globbing) needs to be extracted.
    
    After this change, API expects a set of already
    resolved, absolute paths.
    vdemedes committed May 28, 2016
    Configuration menu
    Copy the full SHA
    5effe36 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2016

  1. Allow turning off Babel

    Note, this is an internal flag and is not supposed
    to be exposed to end users. It's used only when
    test files were previously precompiled, to avoid
    double compilation and caching.
    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    bfe926f View commit details
    Browse the repository at this point in the history
  2. Fix illegal invocation errors in browsers

    When `globals.setTimeout` or `globals.clearTimeout`
    is called with `globals` context, browser (at least
    Chrome) throws "Illegal Invocation" error. If those
    functions are called with `null` (global context),
    errors are not being thrown.
    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    4e9fd39 View commit details
    Browse the repository at this point in the history
  3. add index.js version for browser

    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    5728a53 View commit details
    Browse the repository at this point in the history
  4. add fork.js version for browser

    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    63629eb View commit details
    Browse the repository at this point in the history
  5. add lib/send.js version for browser

    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    502f9fe View commit details
    Browse the repository at this point in the history
  6. add lib/browser-test-worker.js for browser

    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    ee78cc7 View commit details
    Browse the repository at this point in the history
  7. precompile files for the browser

    vdemedes committed May 29, 2016
    Configuration menu
    Copy the full SHA
    c88015b View commit details
    Browse the repository at this point in the history