How to use the jasmine-reporters.AppVeyorReporter function in jasmine-reporters

To help you get started, we’ve selected a few jasmine-reporters examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebook / jest / test_setup_file.js View on Github external
module.exports = function(global) {
  const {jasmine} = global;

  if (jasmine) {
    // Some of the `jest-runtime` tests are very slow and cause timeouts on
    // Travis CI.
    jasmine.DEFAULT_TIMEOUT_INTERVAL = 70000;

    // Running on AppVeyor, add the custom reporter.
    if (process.env.APPVEYOR_API_URL) {
      jasmine.getEnv().addReporter(new jasmineReporters.AppVeyorReporter());
    }
  }
};