How to use the jasmine-spec-reporter.SpecReporter function in jasmine-spec-reporter

To help you get started, we’ve selected a few jasmine-spec-reporter 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 sillsdev / web-languageforge / test / app / browserStackLFProtractorConf.js View on Github external
onPrepare: function () {
    if (process.env.TEAMCITY_VERSION) {
      var jasmineReporters = require('jasmine-reporters');
      jasmine.getEnv().addReporter(new jasmineReporters.TeamCityReporter());
    } else {
      var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
      jasmine.getEnv().addReporter(new SpecReporter({
        spec: {
          displayStacktrace: true
        }
      }));
      var pauseOnFailure = {
        specDone: function (spec) {
          if (spec.status === 'failed') {
            browser.pause();
          }
        }
      };
    }
  }
};
github yohangz / ornamentum / e2e / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: require('path').join(__dirname, './tsconfig.json')
    });
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};
github leovo2708 / ngx-treeview / e2e / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: 'e2e/tsconfig.e2e.json'
    });
    jasmine.getEnv().addReporter(new SpecReporter({
      spec: {
        displayStacktrace: true
      }
    }));
  }
};
github dbelob / twitter-emulation / twitter-emulation-spring-boot-angular-web / e2e / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: require('path').join(__dirname, './tsconfig.e2e.json')
    });
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};
github infra-geo-ouverte / igo2 / protractor.conf.js View on Github external
onPrepare() {
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};
github meiblorn / ngx-fullpage / protractor.conf.js View on Github external
onPrepare() {
        require('ts-node').register({
            project: require('path').join(__dirname, './e2e/tsconfig.e2e.json')
        });
        jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true}}));
    }
};
github nrwl / nx / packages / bazel / src / collection / application / files / __directory__ / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: appDir + '/e2e/tsconfig.e2e.json'
    });
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};
github dotnet / aspnetcore / src / ProjectTemplates / Web.Spa.ProjectTemplates / content / Angular-CSharp / ClientApp / e2e / protractor.conf.js View on Github external
onPrepare() {
    require("ts-node").register({
      project: require("path").join(__dirname, "./tsconfig.e2e.json")
    });
    jasmine
      .getEnv()
      .addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};
github EYBlockchain / nightfall / ui / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: 'e2e/tsconfig.e2e.json',
    });
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  },
};
github swimlane / ngx-datatable / e2e / protractor.conf.js View on Github external
onPrepare() {
    require('ts-node').register({
      project: require('path').join(__dirname, './tsconfig.json')
    });
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
  }
};

jasmine-spec-reporter

Spec reporter for jasmine behavior-driven development framework

Apache-2.0
Latest version published 4 years ago

Package Health Score

68 / 100
Full package analysis